toolfile attribute with error

3 posts, 0 answers
  1. Duy
    Duy avatar
    5 posts
    Member since:
    May 2016

    Posted 07 May Link to this post

    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. Duy
    Duy avatar
    5 posts
    Member since:
    May 2016

    Posted 07 May Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Duy
    Duy avatar
    5 posts
    Member since:
    May 2016

    Posted 07 May in reply to Duy Link to this post

    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
Back to Top