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

Web Mail demo app skinning

3 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 05 Nov 2009, 11:38 PM
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

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Nov 2009, 02:21 PM
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.
0
Adam
Top achievements
Rank 1
answered on 06 Nov 2009, 06:06 PM
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
0
Dimo
Telerik team
answered on 09 Nov 2009, 09:03 AM
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.
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Adam
Top achievements
Rank 1
Share this question
or