Insert External Video tools' window is too large for page size but no scrollbars are shown

3 posts, 0 answers
  1. Zdenek
    Zdenek avatar
    2 posts
    Member since:
    Jul 2012

    Posted 11 Jul 2012 Link to this post

    Hi Telerik,
    I'm facing the following issue: If "Insert External Video" tool is launched in RadEditor (which itself is displayed in RadWindow), its' buttons are hidden (because of small screen resolution), but no scrollbars are shown (see the image attached). Is there a way how to force the "Insert External Video" tool window to have scrollbars displayed?
    Thanks in advance.
    Regards
    Zdenek Jelinek
  2. Zdenek
    Zdenek avatar
    2 posts
    Member since:
    Jul 2012

    Posted 12 Jul 2012 Link to this post

    Fixed temporarily by this: http://www.telerik.com/support/kb/aspnet-ajax/editor/using-browser-modal-dialog-instead-of-radwindow.aspx. But anyway, I would like to know if there is a way how to handle my situation with tools using RadWindows.
    Thanks.
  3. Rumen
    Admin
    Rumen avatar
    14413 posts

    Posted 12 Jul 2012 Link to this post

    Hello,

    You can resize the RadWindow based InsertExternalVideo dialog using the following code:

    protected override void OnPreRenderComplete(System.EventArgs e)
    {
        base.OnPreRenderComplete(e);
        Telerik.Web.UI.DialogDefinition imagePropertiesDialog = RadEditor1.GetDialogDefinition("InsertExternalVideo");
        imagePropertiesDialog.Height = Unit.Pixel(900);
        imagePropertiesDialog.Width = Unit.Pixel(900);
    }

    The contents inside RadWindow have fixed size and you should manually edit them by registering the external dialogs as shown in this demo: Customize Built-in Dialogs.

    All the best,
    Rumen
    the Telerik team
    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 their blog feed now.
Back to Top