How to show a query has been processed in an asp:UpdatePanel if the data doesn't change
I have some controls inside an asp:UpdatePanel. W开发者_开发问答hen a button is pressed to update the repeater data the data may change but it might not though. If the data doesn't change it's hard to tell if you pressed the button or not.
Can someone explain to me how you would add some sort of image or progress bar over the top of the panel to show when processing of the data is happening?
This way at least the user should know that their request has been acknowledged.
The UpgadeProgress control was designed to provide feedback to the user that an async request is occurring. This is the simplest way to accomplish this.
You can also wire into the ScriptManager's pageLoaded event if you want to do something more custom after the response is received. A good tutorial can be found here: http://msdn.microsoft.com/en-us/library/bb398866.aspx
精彩评论