Question

I'm wondering if anyone has created a generic "busy box" type control for ASP.NET MVC. Basically something that popups (disables the screen) while the page loads (or redirects).

Was it helpful?

Solution

I would recommend JQuery Block UI. If you're using JQuery, this is a really easy thing to setup. Basically for all ajax requests, you just need to add the following lines:

$(document).ready(function(){
     $().ajaxStart($.blockUI).ajaxStop($.unblockUI);
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top