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

toolfile attribute with error

2 Answers 33 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Duy
Top achievements
Rank 1
Duy asked on 07 May 2016, 11:12 PM

My radeditor was working fine until i updated to the latest Telerik Ajax. Now I keep getting: "Object Reference not set to an instance of an object.". This error will go away if i remove the attribute toolfile in radeditor control. Please let me know why it is behaving like this. Thank you

 

2 Answers, 1 is accepted

Sort by
0
Duy
Top achievements
Rank 1
answered on 07 May 2016, 11:56 PM
if i copy the tools.xml outside to the same folder as the .aspx file then it works fine. it has something to do with radeditor not able to go into a different folder. please help. thank you
0
Duy
Top achievements
Rank 1
answered on 08 May 2016, 12:21 AM

ok it's not the path again. sorry everyone. it turns out there's something wrong with the tools.xml itself. please let me know what is wrong with below tools

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <tools Name="MainToolbar">
    <tool Name="ToggleScreenMode" ShortCut="F11" />
    <tool Name="AjaxSpellCheck" />
    <tool Name="FindAndReplace" ShortCut="CTRL+F" />
    <tool Name="SelectAll" ShortCut="CTRL+A" />
    <tool Name="Cut" />
    <tool Name="Copy" ShortCut="CTRL+C" />
    <tool Name="Paste" ShortCut="CTRL+V" />
    <editortoolstrip name="PasteStrip">
      <EditorTool Name="Paste"  />
      <EditorTool Name="PasteFromWord"  />
      <EditorTool Name="PasteFromWordNoFontsNoSizes"  />
      <EditorTool Name="PastePlainText"  />
      <EditorTool Name="PasteAsHtml"  />
    </editortoolstrip>
    <tool separator="true"/>
    <tool Name="Undo" shortcut="CTRL+Z" />
    <tool separator="true"/>
    <tool Name="Redo" shortcut="CTRL+Y"/>
  </tools>

  <tools Name="FormaterGroup">
    <tool Name="Bold" ShortCut="CTRL+B" />
    <tool Name="Italic" ShortCut="CTRL+I" />
    <tool Name="Underline" ShortCut="CTRL+U" />
    <tool Name="StrikeThrough" />
    <tool separator="true"/>
    <tool Name="JustifyLeft" />
    <tool Name="JustifyCenter" />
    <tool Name="JustifyRight" />
    <tool Name="JustifyFull" />
    <tool Name="JustifyNone" />
    <tool separator="true"/>
    <tool Name="Indent" />
    <tool Name="Outdent" />
    <tool separator="true"/>
    <tool Name="InsertOrderedList" />
    <tool Name="InsertUnorderedList" />
    <tool Name="Zoom" />
  </tools>

 
 
</root>

thanks
Tags
Editor
Asked by
Duy
Top achievements
Rank 1
Answers by
Duy
Top achievements
Rank 1
Share this question
or