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

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

2 Answers 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Zdenek
Top achievements
Rank 1
Zdenek asked on 11 Jul 2012, 03:30 PM
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 Answers, 1 is accepted

Sort by
0
Zdenek
Top achievements
Rank 1
answered on 12 Jul 2012, 07:15 AM
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.
0
Rumen
Telerik team
answered on 12 Jul 2012, 04:26 PM
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.
Tags
Editor
Asked by
Zdenek
Top achievements
Rank 1
Answers by
Zdenek
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or