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

Hide folder panel and change size in image manager for editor

1 Answer 117 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Coderz
Top achievements
Rank 1
Coderz asked on 06 Aug 2010, 06:47 PM
Hi guys, I have a probem when changing the width and height of the image manager for the editor, the new size chop the preview panel width and if the height is smaller than the default height, the buttons in the bottom part of the dialog are hidden, is there any way to re-acomodate the panels inside also I would like to hide the folder explorer panel because all the images will be in the same folder.
I'm using the following code to change the size of the image manager:

DialogDefinition imageManagerDialog = this.RadEditor1.GetDialogDefinition("ImageManager");
imageManagerDialog.Width = Unit.Pixel(500);
imageManagerDialog.Height = Unit.Pixel(400);

I attach a screenshot.

Thanks in advance
Regards

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Aug 2010, 04:42 PM
Hi Coderz,

The content inside the editor's dialogs has fixed size and the only possible way to increase or decrease its size is to resize the elements inside the dialog manually. You can do that by registering the external dialog files of RadEditor and modifying the FileBrowser.ascx file and modifying the VisibleControls collection of RadFileExplorer control.

Greetings,
Rumen
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
Coderz
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or