Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 30, 2012 11:35 AM by ashiqf
Apr 27, 2012 02:21 PM|LINK
If a page connects to server on a button click event or page load event etc (any event which happens in the server), the user should not be allowed to work/clicketc on other controls in the page.
I need something like "Loading" etc till it completes the server operation.
For eg, if a page loads, till the page load event completes, I should be getting a image "Loading" and should not be allowed to operate on other controls (Entire page should be disabled).
Guess it can be done on AJAX, not sure. If can! How?
Apr 27, 2012 02:59 PM|LINK
document.getElementById('divWait').innerHTML = "Please wait...";
<form id="form1" runat="server">
<asp:Button ID="ButtonTest" runat="server" Text="Click" OnClientClick="showWait();" />
Apr 30, 2012 07:35 AM|LINK
I need it on all server events, not only on Button click. Need some thing like a image which says Loading and every thing else shud be disabled or somethig like that!
Apr 30, 2012 08:34 AM|LINK
use AJAX UpdateProgress - http://www.wadewegner.com/2008/01/using-the-updateprogress-to-lock-down-controls-in-the-browser/
Apr 30, 2012 11:35 AM|LINK
It worked fine. Is there a way to have this done on page load event?