This is a migrated thread and some comments may be shown as answers.

[Solved] innerHTML Javascript Error with Custom Links dropdown

1 Answer 105 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ismet
Top achievements
Rank 1
Ismet asked on 24 Jan 2010, 03:51 PM
I'm getting following js error:
innerHTML is null or not an object.
I tried to add a few entries to Custom Links via ToolsFile.xml then my editor completely lost Custom Links functionality.
I can't see Custom Links dropdown, instead it displays an icon. And howevering and clicking on it gives me innerHTML is null or not an object error.

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Jan 2010, 01:01 PM
Hi Ismet,

You can populate the Custom Links dropdown via the ToolsFile.xml file, as shown in the example below:

[XML] ToolsFile.xml
<root>
 <tools name="MainToolbar" enabled="true">
   <tool name="InsertCustomLink" />
 </tools>
 <links>
   <link name="Telerik" href="http://www.telerik.com">
     <link name="Products" href="http://www.telerik.com/products">
       <link name="Telerik RadControls for ASP.NET suite" href="http://www.telerik.com/radcontrols" />
       <link name="Telerik RadNavigation suite" href="http://www.telerik.com/radnavigation" />
       <link name="Telerik RadEditor" href="http://www.telerik.com/radeditor">
         <link name="QSF" href="http://www.telerik.com/Telerik RadEditor"/>
       </link>
     </link>
     <link name="Purchase" href="http://www.telerik.com/purchase" />
     <link name="Support" href="http://www.telerik.com/support" />
     <link name="Client.Net" href="http://www.telerik.com/clientnet" />
   </link>
 </links>
</root>

Follow the syntax above and you should not experience problems.

If you still experience any problems paste here the ToolsFile.xml contents or open a support ticket and send the ToolsFile.xml file for examination.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Ismet
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or