Waiting spinner for long-running form submits in ASP MVC 3 with jQuery

added by tkglaser
2/21/2012 6:33:29 AM

3 Kicks, 648 Views

Implement a waiting animation into MVC 3 that should work in all browsers. As far as IE is concerned, it works in 9+ but should be easy to back port to IE8.


2 comments

vincentw56
2/21/2012 8:35:25 PM
You can also use an Ajax.BeginForm form instead of a normal Html.BeginForm form. It has a LoadingElementId for providing a progress indicator. Works in all browsers just fine even with animated GIFs.

tkglaser
2/22/2012 2:55:21 AM
Sounds interesting, I've not used Ajax.BeginForm before. I'll have a play with it, thanks for pointing it out.