IFrame Radwindow Stylesheets

2 posts, 0 answers
  1. adam
    adam avatar
    20 posts
    Member since:
    Dec 2007

    Posted 12 Mar 2012 Link to this post

    Is there a way to configure an iFrame RadWindow to automatically add the stylesheets of the parent window? I recall that the RadEditor has this feature, so I am hoping that the RadWindow can perform the same functionality.

  2. Marin Bratanov
    Marin Bratanov avatar
    5935 posts

    Posted 13 Mar 2012 Link to this post

    Hello Adam,

    The RadWindow is merely a container control and it should not modify the content you place inside, therefore such a feature is not available in it. The RadEditor has it to allow you to generate content with the same style as the parent page, e.g. for a CMS-like environment. The main difference is that the iframe the Editor uses is controlled by us and is, for starters, always from the same domain, so it can be accessed. This is not always the case with a RadWindow, it can load an external page, e.g. www.mifrosoft.com or bing.com and it would not be possible to access such pages to modify their styles. Also, with its accent on reuasbility, loading another page in the same RadWindow that copies stylesheets would most likely result in a broken page.

    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