Hi
I get the following error while running WebExplorerBar: JScript runtime error 'theForm' is undefined.
_addOtherHandlers: function(){ this._registerOtherHandlers([{ "submit": theForm, "beforeunload": window}]);}
What am I missing? can't see the problem. If I create a new project and put a WebExplorerBar into that. it works.
I use the latest Version 11.2 in .net 4.0 aspx.
Thanks for your help.
Regards,
Michael
Hello Mahrens,
Thank you for posting this in our community. We stub in to this issue and we were not able to reproduce it in our end. It is really important for us to reproduce it in order to investigate it and fix it. Could you please provide us a sample code that reproduces the issue?
Looking forward to hear from you.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Hi Georgi
I attached a solution that produces the error on my machine. I use VS Ultimate 2010 latest release and sp on windows 7.
So what the heck? Every webpage with a menu has to have the form ID set to theForm. Why?
A page that I have been using for months suddenly decided to throw this same error. I added the fix by naming the form "theForm" and now it works again. If I might be bold enough to ask anyone at Infragistics what changed in your code or in Microsoft's code that suddenly made this id="theForm" a requirement??
It is reproducable if you would have this old school frameset around it, that we still use. I just found the error. It hat to do with the following line in the frameset.aspx:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
I exchanged it with:
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
and now it works.
thanks for your help.
This is reproducible in the same application that you provided me or in different? Also are you experiencing this error under all browsers or only one, if so can you specify which one. Also confirm that you applied the last fix that I suggest in order to make sure that you revert the form name back.
Thank you in advance.
This solves the problem. Thanks!
Can you help me with my next problem?
Microsoft JScript runtime error: Object doesn't support property or method 'addEventListener'if($util.IsIE6 || $util.IsIE7 || $util.IsIE8){...}else{// For Firefox, Opera, Chorme, Safari, IE9 we should fire on the capturing phase-> this._tree.get_element().addEventListener('mousedown', fnMouseDown, true);