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.
1 Answer, 1 is accepted
answered on 13 Mar 2012, 03:48 PM
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.