Welcome Guest Search | Active Topics | Sign In | Register

Javascript errors when using some EO conrols Options
Phil Morris
Posted: Friday, July 20, 2012 11:16:02 AM
Rank: Advanced Member
Groups: Member

Joined: 6/5/2007
Posts: 35
Hi Jack. Hoping there's a very simple solution to the javascript errors I'm seeing.
Firstly, is the latest release of your controls compatible with net 2.0? The website we have makes extensive use of Sitecore, and we haven;t yet upgraded to their version that supports .NET 4.0 so we're stuck with .NET 2.0 for now.

If the answer is no, no need to go any further - I'll uninstall the latest release and re-install a 2.0 compatible version and go from there.

If the answer is yes, the here's the issue. I have tried both a callback panel and a message box (both on different pages) and get JS errors. For example, when using the messagebox, I get errors in the following EO generated javascript:

Code: HTML/ASPX
<script type="text/javascript">
//<![CDATA[
EO1028.f.asi();
//]]>
</script>
<table id="ctl11_mbHelp" border="0" class="eo_no_border_spacing" style="border-color:#335C88;border-width:1px;border-style:Solid;width:300px;display:none;">
	<tr><td align="left"><div id="ctl11_mbHelp_headerDiv"   class="eo_css_ctrl_ctl11_mbHelp1"><div style="position:relative;z-index:2;"><div id="ctl11_mbHelp_headerHtml">Error</div><table id="ctl11_mbHelp_headerTableR" border="0" cellspacing="0" cellpadding="0" style="position:absolute;right:0px;top:0px;"><tr><td valign="middle"><img id="ctl11_mbHelp_min" alt="" src="/WebResource.axd?d=oCbwBBXnVYC15nPIx4MhxyivoPNxCJPqAszeIo60PTz84G_tU3W57CY85d91YHDcnbQoo_KvWJrrzt-xOrFCVKeV4c59neWHYnwWVwJlXgC37hbERW3MA_Hdp45-PDlsbS651A2&t=634769483800000000" /></td><td valign="middle"><img id="ctl11_mbHelp_close" alt="" src="/WebResource.axd?d=-zV0VZA4JKYAhjlVzd0EmZhcg2QcNJk8_pNS5ajFN85_oQv6EDd4mCz_yfJ4FwURlXrB3qFad8dGeubbrTOTJPmZ1aCsHfQsAIr_SQAMQS9lD7T1h50S99AObwpc-DT-6XSfEw2&t=634769483800000000"/></td></tr></table></div></div></td></tr><tr ><td valign="top"><table id="ctl11_mbHelp_contentTable" border="0" style="width:100%;height:100%;" class="eo_no_border_spacing" ><tr><td height="100%" class="eo_css_ctrl_ctl11_mbHelp2" align="left" valign="top"><table id="ctl11_mbHelp_msg_bd" border="0" cellspacing="0" cellpadding="0"><tr><td valign="top" ><img id="ctl11_mbHelp_msg_i" alt="" style="display:none" /></td><td valign="top" id="ctl11_mbHelp_msg_t" >Call server side show method or client side msgBox method to display the message box.<td></tr></table></td></tr></table></td></tr><tr><td><div id="ctl11_mbHelp_footerDiv" style="position:relative;width:auto;"><table id="ctl11_mbHelp_footerTable" border="0" cellspacing="0" cellpadding="0" style="width:100%;"><tr><td  id="ctl11_mbHelp_footer"  class="eo_align_center eo_css_ctrl_ctl11_mbHelp3"><table id="ctl11_mbHelp_msg_b" style="display:inline-table;" border="0" cellpadding="0"><tr><td style="padding-right:5px"><input type="button" onclick="EO1028.f.bda(event, 'ctl11_mbHelp', 0);" value="OK"  /></td></tr></table></td></tr></table><img style="position:absolute;right:0px;bottom:0px;z-index:30000;" src="/WebResource.axd?d=btrIQYNNDVNIubJLNm1lsUIv_yitQ2Cd7czBtta1bShlhLSsVTSBELI-S9ZQulcAeWwGMj9WvM-fHKYu6HtQ1WHcMk25Z8MW8cmP6SIuaNh6FRmX_W8jgmbA5u6VHUhnZUX0fA2&t=634769483800000000" id="ctl11_mbHelp_grip" alt="" /></div></td></tr>
</table>
<script type="text/javascript">
//<![CDATA[
EO1028.g.d.k("ldr|i|fmt|u|ei|e|pop|dd|c|dg", function(){EO1028.g.b.ctl11_mbHelp=1;EO1028.r._o_ctl11_mbHelp=EO1028.f.abx(EO1028.r._o_ctl11_mbHelp,"mbHelp",new EO1028.f.azn([[[,"ctl11_mbHelp","Dialog","ctl11$mbHelp",,,,,,,"__doPostBack(\'ctl11$mbHelp\',\'_eo_arg_\')"],["/WebResource.axd?d=35RITomJNSW_M3jVU3WlTirK5f-zrWw8roTB6tMok6JBSykQB7forK1bjQ90j84NPIsh29em_kwOh9d-8ytWMl02nUf9Vwc2WJcjOxuos_25EqsX5S8tWJKBb7Hrbl8L5JlIEQ2&t=634769483800000000"],,,"None",,,,,[]],,,"LightGrey",3,,1,"/WebResource.axd?d=btrIQYNNDVNIubJLNm1lsUIv_yitQ2Cd7czBtta1bShlhLSsVTSBELI-S9ZQulcAeWwGMj9WvM-fHKYu6HtQ1WHcMk25Z8MW8cmP6SIuaNh6FRmX_W8jgmbA5u6VHUhnZUX0fA2&t=634769483800000000",,,"eo_css_ctrl_ctl11_mbHelp1",,,"eo_css_ctrl_ctl11_mbHelp2",,,,,,,"/WebResource.axd?d=oCbwBBXnVYC15nPIx4MhxyivoPNxCJPqAszeIo60PTz84G_tU3W57CY85d91YHDcnbQoo_KvWJrrzt-xOrFCVKeV4c59neWHYnwWVwJlXgC37hbERW3MA_Hdp45-PDlsbS651A2&t=634769483800000000","/WebResource.axd?d=sIgF-KpxBqRrtzDsKgQaHv3fyDj1Q7he6A2xttLOPAZ2p00DI23WjO6VhPd7TYcaRJiTjwfrVntAX8YP-ptRVDIDiEED5te6QAo64_0dHhwIq-MRw0f4qPggWNYyhHmw4HHJ5w2&t=634769483800000000",,,,,,,,,,"eo_css_ctrl_ctl11_mbHelp3",,,,,,,,,,,,,,,,,,,"/WebResource.axd?d=-zV0VZA4JKYAhjlVzd0EmZhcg2QcNJk8_pNS5ajFN85_oQv6EDd4mCz_yfJ4FwURlXrB3qFad8dGeubbrTOTJPmZ1aCsHfQsAIr_SQAMQS9lD7T1h50S99AObwpc-DT-6XSfEw2&t=634769483800000000",1]),"Dialog");EO1028.f.ahd(EO1028.r._o_ctl11_mbHelp,1,200, 0);});
//]]>
</script>

<script type="text/javascript">
//<![CDATA[
EO1028.f.asj();
//]]>
</script>


The errors are 'Object does not support property or method asi' for the JS 'EO1028.f.asi();' and 'Unable to get value of the property 'k': object is null or undefined' for the JS 'EO1028.g.d.k("ldr....'

I can only hope the answer is obvious - the website is pretty massive and the errors are cropping up in a user control embedded in a sitecore generated page!!

Thanks

Phil
eo_support
Posted: Friday, July 20, 2012 11:50:26 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We are not aware of any compatibility issue with ASP.NET 2.0. It supposes to work fine.

Thanks!
Phil Morris
Posted: Friday, July 20, 2012 12:34:53 PM
Rank: Advanced Member
Groups: Member

Joined: 6/5/2007
Posts: 35
So no obvious reason why I'm getting the JS errors?
eo_support
Posted: Friday, July 20, 2012 12:39:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
No. We would have told you if there was. You will have to give us a test page first.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.