asp.net ajax control ModalPopupExtender demo

来源:互联网 发布:单声道蓝牙软件 编辑:程序博客网 时间:2024/06/14 11:17

asp.net ajax control ModalPopupExtender demo

 

 

ModalPopupCss

 

最初在Default.aspx中使用的是ScriptManager,然后其他是按照上面,出现:

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.错误

 

最后参考这里:http://stackoverflow.com/questions/1832533/trouble-switching-to-the-beta-ajaxcontroltoolkit

Adding the following to the aspx file fixed this error for me:

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
   
</asp:ToolkitScriptManager>

原创粉丝点击