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

customizing editor dialogs

2 Answers 59 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 03 Jun 2009, 11:35 AM
I have a Rad Editor which uses an Image Manager and Template Manager. I have copied the Editor Dialogs folder to my app so I can custoimze the dialogs. I need to disallow users from making any modifications to the file structure (uploading/creating folders, renaming, etc.) in the template manager, but they can do all of that in the Image manager. It seems that both managers use the FileBrowser UserControl. I can make the changes in FilBrowser.ascx, but I obviously don't want them to be applied to both managers. How do I customiized the FIle Browser for one manager or the other.

2 Answers, 1 is accepted

Sort by
0
Accepted
Tervel
Telerik team
answered on 05 Jun 2009, 07:10 AM
Hello Albert,

If I understand you correctly, you are using the ExternalDialogsPath property to load these dialogs from external location. This, however, does not mean that they are *detached* from the editor. In fact the editor will still take care of initializing the dialogs according to the file/folder permissions you set.

Hence, perhaps the following demo will be useful to you:
http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx
It discusses the ViewPaths, UploadPaths and DeletePaths properties.

In case already tried that and it did not work (maybe you you have made more substantial changes to the dialogs than I assume), then you will need to set these same properties to the RadFileExplorer control defined in the dialogs themselves. For more information please review the following demo:
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/default/defaultcs.aspx



Best wishes,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 05 Jun 2009, 01:21 PM
ahhh. I forgot that the uploadability is handled through the "UploadPaths" property. Ok, I can set this individually. Thanks!
Tags
Editor
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Tervel
Telerik team
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Share this question
or