This is a migrated thread and some comments may be shown as answers.
IFrame Radwindow Stylesheets
1 Answer 18 Views
This is a migrated thread and some comments may be shown as answers.
adam
Top achievements
Rank 1
adam asked on 12 Mar 2012, 03:16 PM
Hello, 
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.

Thanks,
Adam

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Mar 2012, 03:48 PM
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.


Greetings,
Marin
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.
Asked by
adam
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or