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
535
Why “Can't Init Editor“ message in the web status bar at runtime.
posted

I tracked this msg to the following IG java script:

sequence of events:

Error: Syntax error

Error: Object expected

Error: 'Sys' is undefined

Error: Can't init editor

<script type='text/javascript'><!--
igmenu_Header1InternalUltraWebMenu_Menu=[ "Header1:InternalUltraWebMenu",1,1,"","Header1InternalUltraWebMenuHover","Header1InternalUltraWebMenuTopSelected","/ig_common/WebNavigator31/ig_menuTri.gif",false,"300","100","Fade","#000000","5","200","1000","","","Header1InternalUltraWebMenuDisabled","Header1InternalUltraWebMenuItem","/ig_common/WebNavigator31/ig_menuBlueUp.gif","/ig_common/WebNavigator31/ig_menuBlueUp_disabled.gif","/ig_common/WebNavigator31/ig_menuBlueDown.gif","/ig_common/WebNavigator31/ig_menuBlueDown_disabled.gif",false,true,"","",true,false];

igmenu_Header1InternalUltraWebMenu_Events = [ ["",0],["",0],["",1],["",0],["",0]];

 igmenu_initMenu('Header1InternalUltraWebMenu');
//--></script>
<script type="text/javascript">
<!--
Sys.Application.initialize();
// -->
</script>
<script type='text/javascript'><!--
try{igedit_init("wcePrevious",5,"wcePrevious,,1,,,,0,1,1,,,0,0,,-1,",["","..",",","-","$","","$n","($n)",1,2,2,0,0,"","",3]);}catch(e){window.status="Can't init editor";}
//--></script><script type='text/javascript'><!--
try{igedit_init("wceCurrent",5,"wceCurrent,,1,,,,0,1,1,,,0,0,,-1,",["","..",",","-","$","","$n","($n)",1,2,2,0,0,"","",3]);}catch(e){window.status="Can't init editor";}
//--></script><script type='text/javascript'><!--
try{igedit_init("wnePrevious",4,"wnePrevious,,1,,,,0,1,1,,,0,0,,-1,",["","..",",","-","","","n","-n",1,2,0,0,0,"","",3]);}catch(e){window.status="Can't init editor";}
//--></script><script type='text/javascript'><!--
try{igedit_init("wneCurrent",4,"wneCurrent,,1,,,,0,1,1,,,0,0,,-1,",["","..",",","-","","","n","-n",1,2,0,0,0,"","",3]);}catch(e){window.status="Can't init editor";}
//--></script></form>
  </body>
</html>

NetAdvantage 2006 Volume 3 CLR 2.0
Infragistics2.WebUI.Shared.v6.3.dll
6.3.20063.1069 

Thx, XPXJ

Parents
No Data
Reply
  • 45049
    Suggested Answer
    posted

    The "Can't init edior" message means that the controls can't identify what JavaScript they need to run to initialize and thus function.  Chances are high that the previous three errors are preventing the JavaScript from being found.

    The "Syntax error" and "Object expected" messages are too generic for me to propose possible c***

    The "'Sys' is undefined" message suggests that you may have placed some ASP.NET AJAX Extensions controls on your page (such as a ScriptManager) without having an "AJAX Enabled Website."  If you're using a ScriptManager and if it's not able to initialize, this could cause our controls to be unable to initialize.

Children
No Data