In this post, we want to discuss a nice function to the ajax process bar in ASP.Net. Before we get started, if you want to know about GridView with subtotal and grand total, please go through the following article: C#: GridView with subtotal and total.
Let’s start. First, you need to register AjaxControlToolkit with the following code:
1 2 3 |
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> |
Then, you should use the following code for ajax process ber
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server"> <asp:UpdatePanel ID="updatePanelExamMCQ" runat="server" UpdateMode="Conditional"> <ContentTemplate> //-------------------------------- </ContentTemplate> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0" AssociatedUpdatePanelID="updatePanelExamMCQ"> <ProgressTemplate> <div class="overlay" /> <div class="overlayContent" align="center"> <img src="img/loading.gif" alt="Loading" border="0" /> </div> </ProgressTemplate> </asp:UpdateProgress> </asp:Content> |
Ajax Process Bar in Asp.net
The article was published on August 10, 2014 @ 10:05 AM
Leave a Comment