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

xml ToolsFile with Paths?

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 30 Dec 2012, 03:15 PM
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

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Jan 2013, 10:59 AM
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.
Tags
Editor
Asked by
Tony
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or