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

Radeditor Template Iframe - size matters

1 Answer 37 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 06 Feb 2013, 06:24 AM
I am looking for a client or codebehind method to change the size of the Template Manager's iframe to match the sizing from User's template html.  A User will uploads various sized html templates and we want to adjust the size of the preview in iframe accordingly.   
Cheers,

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 07 Feb 2013, 04:50 PM
Hi,

The contents inside the RadEditor dialogs have fixed size and RadEditor does not offer such API out-of-the box. If you would like you can register the external dialogs of the control and try to implement the requested functionality yourself by customizing the TemplateManager.ascx file and the Preview iframe element in it:

<iframe id="templateIframe" frameborder="0" height="300" width="267" scrolling="auto">preview</iframe>

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