Radeditor Template Iframe - size matters

2 posts, 0 answers
  1. Dave
    Dave avatar
    32 posts
    Member since:
    Feb 2008

    Posted 06 Feb 2013 Link to this post

    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.   
  2. Rumen
    Rumen avatar
    14285 posts

    Posted 07 Feb 2013 Link to this post


    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,
    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