I need to show a progress bar/message till the datagrid is fully loaded and shown in the screen.Currently, i have witten a javascript with time specified and shows a message 'Please wait while the data is loading".
I need to capture the time taken for grid to load data and pass that time to the javascript.
Is there any soluntions for this..??
The javascript i call in body onload is,
Expand|Select|Wrap|Line Numbers
- function Show()
- {
- document.getElementById('dvStatus').style.display = '';
- var t = setTimeout("document.getElementById('dvStatus').style.display = 'none';",500000);
- document.getElementById('imStatus').src = 'Images/Preloader_2.gif';
- }
- <div id="dvStatus" runat="server" visible="false" style="left: 380px; position: absolute; bottom: 90px; background-color: White">
- <img src="Images/Preloader_2.gif" alt="Progress" id="imStatus" />
- <asp:Label ID="lblStatus" runat="server" CssClass="messageStyle"></asp:Label>
- </div>
Thanks in advance,
Blacky