ASP.NET页面中能否使用多个ScriptManagers?
- 内容介绍
- 文章标签
- 相关推荐
本文共计158个文字,预计阅读时间需要1分钟。
页面可以包含多个ScriptManagers吗?如果是,则需要在什么条件下?MSDN说不行,你不能超过一个(强烈建议我):页面可以包含一个ScriptManager控制在其层次结构中。要注册服务和脚本为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
本文共计158个文字,预计阅读时间需要1分钟。
页面可以包含多个ScriptManagers吗?如果是,则需要在什么条件下?MSDN说不行,你不能超过一个(强烈建议我):页面可以包含一个ScriptManager控制在其层次结构中。要注册服务和脚本为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

