Web Mail demo app skinning

4 posts, 0 answers
  1. Adam
    Adam avatar
    12 posts
    Member since:
    Apr 2007

    Posted 05 Nov 2009 Link to this post

    How does the top div in the default page swith its background color based on the skin a user selects.  Is this the form decorator or skin mamanger doing it??

    Thx
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 06 Nov 2009 Link to this post

    Hi Adam,

    The header is styled by custom CSS code, but this code uses the RadFormDecorator wrapper CSS classes, which are applied to the <html> element depending on the selected skin.

    Please inspect the beginning of

    http://demos.telerik.com/webmail/Styles/styles.css


    All the best,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Adam
    Adam avatar
    12 posts
    Member since:
    Apr 2007

    Posted 06 Nov 2009 Link to this post

    Does the form decorator also decorate <DIV> tags.  I did not see this as a "decoratabel" control in the properties.  I also tried to put a DIV on the page and it did nto automatically decorate.

    - Adam
  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 09 Nov 2009 Link to this post

    Hello Adam,

    RadFormDecorator can decorate zones. If you have set the DecorationZoneID to an ID of an asp:Panel, then you will get a decorated <div>.

    Actually, how do you want to decorate a <div>? RadFormDecorator can apply a background color to zones, but this depends on the skin - some skins have a "transparent" background for the zones.

    I am not sure whether your last question is related to the previous one about the WebMail demo. If you need more information, let us know.

    Regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top