当前位置 : 主页 > 网络编程 > ASP >

asp.net – 页面可以有多个ScriptManagers吗?如果是,则需要在什么条件下?

来源:互联网 收集:自由互联 发布时间:2021-06-24
页面可以有多个ScriptManagers吗?如果是,则需要在什么条件下? MSDN说不,你不能超过一个(强调我的): A page can contain only one ScriptManager control in its hierarchy. To register services and scripts for nes
页面可以有多个ScriptManagers吗?如果是,则需要在什么条件下? MSDN说不,你不能超过一个(强调我的):

A page can contain only one ScriptManager control in its hierarchy. To register services and scripts for nested pages, user controls, or components when the parent page already has a ScriptManager control, use the ScriptManagerProxy control. For more information, see Using the ASP.NET UpdatePanel Control with Master Pages

网友评论