在网上查了一下,真是哭笑不得,转于此:
<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.
今天多手,把引用改成了自关闭的,结果就报错了,唉。