asp.net-ajax – UpdateProgress链接到多个UpdatePanel控件

有没有一种方法可以将单个UpdateProgress控件与Mupltiple UpdatePanel控件相关联?这样的:
<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">.....

解决方法

我不这么认为以编程方式尝试,它坚持为UpdatePanel提供字符串ID,并不表示可以将UpdatePanels的集合与特定的UpdateProgress控件相关联.
UpdateProgress1.AssociatedUpdatePanelID = "UpdatePanel1";

从元数据:

Summary:
        //     Gets or sets the ID of the System.Web.UI.UpdatePanel control that the System.Web.UI.UpdateProgress
        //     control displays status for.

所以,我看不到你可以做到这一点.好问题虽然

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....