`
ladymaidu
  • 浏览: 674042 次
文章分类
社区版块
存档分类
最新评论

asp.net ajax control ModalPopupExtender demo

 
阅读更多

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>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics