Monday, March 26, 2012

Centering a progress indicator over an UpdatePanel

I have a number of GridViews in my application that are wrapped in UpdatePanels. I would like to display a progress indicator directly in the center of the GridView while the panel is refreshing. I started out using the UpdateProgress control, but I couldn't find a decent way to center it over the GridView. I ended up using the UpdatePanelAnimationExtender and using the ScriptAction to do the work. It seems to work OK, but I am thinking there must be a better way of doing this - this seems like it would be a pretty common requirement. Anyway here is a link to the description of the apporach I am currently usinghttp://mattberseth.com/blog/2007/05/ajaxnet_example_using_an_updat.html. Any feedback would be appreciated.

Matt Berseth

http://mattberseth.com

This isn't a polished solution, but this should provide some insight for you:http://codeclimber.net.nz/archive/2007/05/17/How-to-make-a-Gmail-like-loading-indicator-with-ASP.NET-Ajax.aspx

No comments:

Post a Comment