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

RadFormDecorator Help

1 Answer 42 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 13 Sep 2012, 06:07 PM
I have a couple of questions concerning the RadFormDecorator control.
1. how does the browser read and render the the skins for radcontrols.
2. where css generated or is the styles embedded into the page.
3. can the skins be made public accessible.

the reason that I am doing this is because i am trying to make a email and print friendly version of a page that is using radcontrols

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 18 Sep 2012, 10:52 AM
Hello Andy,

The RadFormDecorator includes its CSS files in the <head> section of the page where <link> elements should be. The scripts required by the control are linked inside the form after the ASP hidden fields.

More information on how skins work and are used is available in the section of the documentation that starts with the following help article: http://www.telerik.com/help/aspnet-ajax/introduction-controlling-appearance-overview.html. Put simply - a set of CSS files and background images create the UI of the controls, so for printing a page with Radcontrols the printing of background should be checked manually in the printing options / page setup dialog.

I am not sure what you mean by making the skins publicly accessible, but you can externalize the skins to your own CSS files instead of using the ones we download from our assemblies via webresources. How to do this is explained in the tutorial for creating a custom skin that each control has, e.g. this article. Yet another alternative is the RadStyleSheet manager's CDN we offer so that actual files are used from our cloud servers.


Kind regards,
Marin Bratanov
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
ScriptManager and StyleSheetManager
Asked by
Andy
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or