September 02, 2009

this._form is null javascript error Scriptmanager

this._form is null javascript error with Scriptmanager, this problem occur when you are using ajax extension and another third party js together. i was using jquery when i got this issue.

i was reffrering the js as following

<script type="text/javascript" language="javascript" src="js/jquery-1.2.6.min.js"
but it creates problem when using with ajax extension

Slightly change it with closing of script

<script type="text/javascript" language="javascript" src="js/jquery-1.2.6.min.js"></script >

or use the best practice syntax and add any third party script as follow.

<asp:scriptmanager id="myScripts" runat="server">
<asp:scriptreference path="js/jquery-1.2.6.min.js">