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

How to resize Image Manager?

1 Answer 30 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 20 Sep 2013, 06:42 AM
 Hi,

We have upgraded to telerik RadEditor and client is unhappy about inability to resize middle panel in Image Manager so that they can see more folder/file icons. There is a handle that allows to drag a separator between folder tree and middle panel but they want to be able to drag everything, including control borders to increase control size (see screenshot). Is there a config setting or something that allows to do this?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 23 Sep 2013, 02:33 PM
Hello Eugene,

I am afraid that the desired resizing functionality cannot be achieved for the ImageManager dialog. The main reason for this is that the control used for listing the files and folders into the dialog is RadFileExplorer and it does not support size in percentages (the pointed in your image resize handler is part of this control).

The only possible workaround I could suggest you is to enable the resize behaviors of the ImageManager's wrapping RadWindow:
protected void Page_PreRenderComplete(object sender, EventArgs e)
{
    DialogDefinition imagemanagerDefinition = RadEditor1.GetDialogDefinition("ImageManager");
    imagemanagerDefinition.Behaviors = WindowBehaviors.Resize | WindowBehaviors.Move | WindowBehaviors.Close;
}

Note, though, that this will not make the ImageManager's inner controls recalculate their size and you will experience many other visual glitches.

Kind regards,
Veselina Raykova
Telerik
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 the blog feed now.
Tags
Editor
Asked by
Eugene
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or