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
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.
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.