In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about the DropDownList drop-down box selection to promote events and prevent global refresh example analysis, the editor thinks it is very practical, so share with you to learn, I hope you can learn something after reading this article, say no more, follow the editor to have a look.
Code:
/ / UpdatePanel is used in ASP.NET to realize local asynchronous refresh / / background drop-down box select change trigger event protected void SelectProductTypeChange (object sender, EventArgs e) {/ /}
Asp:ScriptManager Overview:
1. ScriptManager (script controller) is the basis of asp.net ajax.
2, only one ScriptManager is allowed for a page, and it is placed in front of other ajax controls.
3The script Manager is in charge of the multiple scripts of the Ajax page on the client side, and registers the Ajax class library in the page to implement the local update of the page and the call to the Web service.
Reference and: simple usage of ScriptManager
Note:
The combination of 1.ScriptManager and UpdatePanel controls can achieve the effect of asynchronous local update of the page. The UpdatePanel is to set the asynchronous local update area in the page, which must depend on the existence of ScriptManager, because the ScriptManger control provides the function of generating and managing UpdatePanel by client script.
There is a button outside 2.updatepanel. If you set it to AsyncPostBackTrigger, the button page will not be refreshed.
The above is the example analysis of DropDownList drop-down box selecting change to promote events and prevent global refresh. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 251
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.