How to control Loading panel on button click
Work on C#,Asp.net, on my page Click on AspxButton i want to show loading开发者_JS百科 panel with text processing...., After complete the whole event work ,Loading panel become false.
On button click how to control Loading Panel
If you're using ASP.NET AJAX, you can use the UpdateProgress control in conjunction with the UpdatePanel to show an element while the server is doing the processing.
Check out Scott Guthrie's blog for an example.
The following topic contains a code which shows how this can be done:
http://documentation.devexpress.com/#AspNet/DevExpressWebASPxLoadingPanelScriptsASPxClientLoadingPanel_Showtopic
If so, you may leave the AutoPostBack property set to true and handle the button's client-side Click event as shown in the topic I've mentioned above. There is no need to hide the LoadingPanel in this case, it will be hidden automatically when a page is rendered in the client side.
精彩评论