Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
theForm is undefined or null Error in WebHierarchicalDataGrid on load
posted

 

Hi,

I am getting "Microsoft JScript runtime error: 'theForm' is undefined" erorr on page load and also when I try to expand the node from WHDG. the error is coming at below function.

_addOtherHandlers:

function ()

{

 

 

this._registerOtherHandlers([{ "submit": theForm, "beforeunload": window}]);

},

Please suggest me how to fix this problem.

Thanks,

Chinnayya

Parents
No Data
Reply
  • 285
    posted

    I had the same error when I deployed my solution onto a Windows Server 2003 with IIS6 installed. On my development machine (Windows 7 with installed IIS) everything works fine. Finally renaming the form from "form1" to "theForm" did the trick:

    <form id="theForm" runat="server">

Children
No Data