Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dearl All,


I am filtering data and binding in gridview.Then i want to show waiting image on popup untill gridview is binding.how to do that.it means after gridview modalpopup must be closed.
Posted
Updated 18-Jul-14 19:50pm
v2

you can use Ajax UpdatePanel and UpdateProgress to activate loader control in every such postbacks.

XML
<asp:ScriptManager runat="server" ID="sm1" ></asp:ScriptManager>
<asp:UpdateProgress runat="server" id="PageUpdateProgress11">
            <ProgressTemplate>
               <DIV id="IMGDIV" align="center" valign="middle" runat="server" class="overlay">

                    <img src="images/loader.gif"  border="0"/><br />

                   </DIV>

            </ProgressTemplate>
        </asp:UpdateProgress>

XML
<asp:UpdatePanel runat="server" ID="updMLO"><ContentTemplate>
                                 <asp:DropDownList runat="server"></asp:DropDownList>
                               <asp:GridView runat="server">.......</asp:GridView>
                                  </ContentTemplate></asp:UpdatePanel>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900