xml ToolsFile with Paths?

2 posts, 0 answers
  1. Tony
    Tony avatar
    7 posts
    Member since:
    Nov 2012

    Posted 30 Dec 2012 Link to this post

    hi I have a set of RadEditors. I use a server side method to assign different xml ToolsFile to different RadEditors.
    Is it possible that I can specify paths in the same xml? e.g.

    <root>
      <tools name="MainToolbar" dockable="true" enabled="true">
        <tool name="Bold"  />
        <tool name="Italic" />
        <tool name="Underline" />
        <tool separator="true"/>
        <tool name="InsertOrderedList" />
        <tool name="InsertUnorderedList" />
        <tool name="ImageManager" ViewPaths="~/Images" UploadPaths="~/Images/New" DeletePaths="~/Images/New/blah" />
        <tool name="DocumentManager" ViewPaths="~/Docs" UploadPaths="~/Docs/New" DeletePaths="~/Docs/New/blah"/>
      </tools>
    </root>


    thanks in advance
  2. Rumen
    Admin
    Rumen avatar
    14070 posts

    Posted 02 Jan 2013 Link to this post

    Hi,

    The ViewPaths, UploadPaths and DeletePaths properties which apply to RadEditor's File Browser dialogs could be set:
    • inline in the RadEditor's declaration
    • in the codebehind
    • in a theme/skin file,

    but not in the ToolsFile.xml file.


    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top