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>

相关文章:

  • 2021-11-12
  • 2021-09-21
  • 2021-12-17
  • 2021-07-10
  • 2021-12-11
  • 2022-02-15
  • 2021-10-05
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2021-12-14
  • 2022-02-13
  • 2021-12-06
  • 2022-01-04
  • 2021-05-26
相关资源
相似解决方案