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

Customizing Image Manager Dialogue outside of RadEditor

1 Answer 109 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matthew Purser
Top achievements
Rank 1
Matthew Purser asked on 29 Oct 2008, 12:31 PM
I'm using standalone Image Manager and Document Manager outside of the RadEditor. Is there anyway I can disable the insert button, and change the text of the Cancel Button, and also disable the properties.

I'm using these dialogues as a seperate asset manager and want to be able to just give the basic upload and preview functionality of these controls without confusing the end user!

Also with the Document Manager, is there anyway to preview i.e select a pdf and have it open in a seperate window?

Thanks

Jon.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Oct 2008, 05:26 PM
Hi Jon,

The dialog opener component does not have a special property ExternalDialogsPath, but you can add it directly to the dialog parameters. In your example, simply add the line

FileManagerDialogParameters fileManagerParameters = new FileManagerDialogParameters();
fileManagerParameters["ExternalDialogsPath"] = "~/EditorDialogs/";

and make sure that the modified ImageManager.ascx and DocumentManager.ascx files are in the editorDialogs folder. The EditorDialogs folder should be copied from the RadControls for ASP.NET AJAX installation to the root folder of your project. After that you can open the respective ascx files and modify them.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Matthew Purser
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or