Asp.net Ajax Bata2中的ScriptManager的问题,求教于高人
在我的程序中,本来使用了一个ScriptManager,今天升级到bata2,却出问题了:
代码如下:
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="Ywlj.asmx" />
</Services>
<scripts>
<asp:ScriptReference Path="Js/Chevy.js"/>
</scripts>
</asp:ScriptManager>
在bata1中没有任何问题,JS文件中的函数也能调用,各项都正常.
但是升级到bata2后,生成没有提示错误.
但在运行时,提示错误如下:
Microsoft JScript 运行时错误: Sys.ScriptLoadFailedException: The script 'Js/Chevy.js' could not be loaded or does not contain the Sys.Application.notifyScriptLoaded() callback.
有那位高人知道是什么原因吗,如何解决呢?
浙公网安备 33010602011771号