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

How to add custom FileBrowser

1 Answer 36 Views
Editor
This is a migrated thread and some comments may be shown as answers.
zhangjue
Top achievements
Rank 1
zhangjue asked on 07 Jul 2010, 12:04 PM
I am using RadEditor and I need to insert image and documents. I noticed the popup dialogs are FileBrowser(Correct me if I am wrong, thanks). The default FileBrowser contains FileExplorer and previewer. Now I want to change the behavior to :
1. For image, replace the FileExplorer with my own explorer
2. For document, replace the FileExplorer with my own explorer, and remove the previewer.

I know users can customize dialogs, is it possible to make above changes? and how to do it?

The task is quite urgent, looking forward to your reply. Thanks.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 09 Jul 2010, 10:09 AM
Hi Zhangjue,

FileBrowser dialog is integrated inside all the file dialogs (ImageManager, DocumentManager, FlashManager, etc). If a change is to the FileBrowser.ascx it will affect all other dialogs, and it is not possible to achieve the required modifications to standard dialogs.

However, RadEditor offers the possibility to create and register custom dialogs and I recommend this approach to achieve the required result. You can find a detailed tutorial how to create a custom dialog in the following Live Demo :
Editor / Custom Dialogs

Regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
zhangjue
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or