February 9, 2016

Multiple update panel and multiple update progress

Below code snippet shows how we can use multiple update progress in ASP.Net application.

<asp:UpdatePanel ID="uPnlAction" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<div id="dvWaring" runat="server">
   
<p>Multiple update panel and multiple update progress.</p>
</div>
<asp:UpdateProgress ID="uprUpgradation" AssociatedUpdatePanelID="uPnlAction"
      
runat="server">
<ProgressTemplate>
  Please wait …
<img alt="" src="/../Images/Processing.gif" />
</ProgressTemplate>
</asp:UpdateProgress>
</ContentTemplate>
</asp:UpdatePanel>


<asp:UpdatePanel ID="upnlCase" runat="server"
      
UpdateMode="Conditional" ChildrenAsTriggers="true">
<ContentTemplate>
<p></p>
<ProgressTemplate>
Please wait ...
<img alt="" src="/../Images/Processing.gif" />
</ProgressTemplate>
</asp:UpdateProgress>
</ContentTemplate>
</asp:UpdatePanel>

No comments:

Post a Comment