Reputation: 958
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">.....
Upvotes: 15
Views: 11910
Reputation: 1
It will directly work from properties pane of Update Progress, you can set target panel.
But, generally in most system, one progress can be targeted to single update panel control.
Upvotes: 0
Reputation: 331
Remove the AssociatedUpdatePanelID from the tag and it will work as you want.
Upvotes: 33
Reputation: 5769
I don't think so. Trying this programmatically, it insists on having a string ID for the UpdatePanel, and gives no indication that you can associate a collection of UpdatePanels with a particular UpdateProgress control.
UpdateProgress1.AssociatedUpdatePanelID = "UpdatePanel1";
From the Metadata:
Summary:
// Gets or sets the ID of the System.Web.UI.UpdatePanel control that the System.Web.UI.UpdateProgress
// control displays status for.
So, I can't see that you can do this. Good question though.
Upvotes: -1