Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UpdateProgress linked to Multiple UpdatePanel controls

Is there a way to have a single UpdateProgress control associated with mupltiple UpdatePanel controls? something like this:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
     <ContentTemplate>
     .....
     </ContentTemplate>
</asp:UpdatePanel>

<asp:UpdatePanel ID="UpdatePanel2" runat="server">
     <ContentTemplate>
     .....
     </ContentTemplate>
</asp:UpdatePanel>


<asp:UpdateProgress ID="UpdateProgress3" runat="server" AssociatedUpdatePanelID="UpdatePanel1, UpdatePanel2">.....
like image 994
Dieter G Avatar asked Oct 08 '09 23:10

Dieter G


People also ask

What is an UpdatePanel control?

UpdatePanel controls work by specifying regions of a page that can be updated without refreshing the whole page. This process is coordinated by the ScriptManager server control and the client PageRequestManager class. When partial-page updates are enabled, controls can asynchronously post to the server.

Can we use nested UpdatePanel in Ajax?

To nest UpdatePanel controlsIn the AJAX Extensions tab of the toolbox, double-click the ScriptManager control to add it to the page. In the toolbox, double-click the UpdatePanel control to add an UpdatePanel control to the page.

How do I use UpdateProgress?

To use a single UpdateProgress control for the whole pageDouble click the UpdatePanel control to add it to the page. Double-click the UpdateProgress control to add it to the page. Inside the UpdateProgress control, add the text Processing…. Inside the UpdatePanel control add a Label control and a Button control.

What is an UpdatePanel control in Ajax?

Introduction. UpdatePanel controls are a central part of AJAX functionality in ASP.NET. They are used with the ScriptManager control to enable partial-page rendering. Partial-page rendering reduces the need for synchronous postbacks and complete page updates when only part of the page has to be updated.


1 Answers

Remove the AssociatedUpdatePanelID from the tag and it will work as you want.

like image 128
Scott Avatar answered Sep 17 '22 14:09

Scott