How to resize Image Manager?

2 posts, 0 answers
  1. Eugene
    Eugene avatar
    5 posts
    Member since:
    Jul 2008

    Posted 20 Sep 2013 Link to this post

     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!
  2. Vessy
    Admin
    Vessy avatar
    2245 posts

    Posted 23 Sep 2013 Link to this post

    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.
Back to Top