ASP.NET + AJAX 出现 this._form is null' 错误之解决

来源:互联网 发布:alphago算法 应用 编辑:程序博客网 时间:2024/05/29 02:17

在网上查了一下,真是哭笑不得,转于此:

 

<script type="text/javascript" src="Scripts/SomeFile.js"/>

the scriptmanager would fail with a 'this._form is null' error. The correct syntax for inserting the javascript file should be :

<script type="text/javascript" src="Scripts/SomeFile.js"></script>

Almost the same, but a different way of closing the script tag. Apparently this is really important.

 

今天多手,把引用改成了自关闭的,结果就报错了,唉。

原创粉丝点击