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,
I investigated the sample provided and the issue is cause from the web.config file.
Here this line <xhtmlConformance mode="Legacy" />
Will change the document mode of the page to a mode that is not supported from our controls. You need to remove it.
Please revert the form name to the form1 comment this code and let me know the results from your tests.
I hope this helps.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Hi Georgi
Yes this solved this error, but now i get another one (not in the project i sent you):
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);
Do you know a solution for that?
Thank you the sample code provided. I review it and setting the name of the form to be “theForm” like this :
<form id="theForm" runat="server">
Please let me know if this works for you on your end.
Looking forward to hear from you.
I attached a solution that produces the error on my machine. I use VS Ultimate 2010 latest release and sp on windows 7.
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?