RadFormDecorator Help

2 posts, 0 answers
  1. Andy
    Andy avatar
    1 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

    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
  2. Marin Bratanov
    Marin Bratanov avatar
    5361 posts

    Posted 18 Sep 2012 Link to this post

    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.
Back to Top