Showing only Custom Links in Editor

2 posts, 0 answers
  1. Naupad
    Naupad avatar
    23 posts
    Member since:
    Dec 2011

    Posted 26 Jan 2012 Link to this post

    Hello,
            I am having a Rad Editor. I am populating Custom Links dropdown with my server side code. Now how can I only show Custom Links in my Rad Editor toolbar and no other tools???


    HELP!!!!!!!!!!!!
  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 27 Jan 2012 Link to this post

    Naupad:

    You can configure your RadEditor toolbar to use an XML file that is defined as follows:

    <root>
      <tools name="DropdownToolbar" >
        <tool name="InsertCustomLink" shortcut="CTRL+ALT+K"/>
       </tools>
      <links>
        <link name="telerik" href="http://www.telerik.com">
          <link name="Products" href="http://www.telerik.com/products">
            <link name="RadEditor" href="http://www.telerik.com/radeditor" />
          </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>
        <link name="Microsoft">
          <link name="Main Site" href="http://www.microsoft.com" />
          <link name="MSDN Online" href="http://msdn.microsoft.com" />
          <link name="Windows Update" href="http://windowsupdate.microsoft.com" />
        </link>
        <link name="Search Engines">
          <link name="Google" href="http://www.google.com" />
          <link name="Yahoo" href="http://www.yahoo.com" />
          <link name="AltaVista" href="http://www.altavista.com" />
        </link>
      </links>
    </root>

    See the "radeditor_customlinks_toolbar.png" attached for the RadEditor instance.

    The toolbar for RadEditor is fully detailed on the Introduction to Toolbars. And you can reference the Default ToolsFile.xml file of RadEditor for ASP.NET AJAX knowledge base article to access/download the most commonly used toolbar groupings defined in XML files.

    Reference the Editor / Default Settings online demo at http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx for insights on integrating them in your application.

    Hope this helps!
Back to Top