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

How to extend the Telerik Skins for web page?

1 Answer 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Liji Jose
Top achievements
Rank 1
Liji Jose asked on 22 Apr 2010, 06:13 AM
I need to change the page background color based on the skins selected.
Users can change their skins dynamically, so based on the user selected skin, I need to set the page background color,

Can you suggest, this is very urgent.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Apr 2010, 03:31 PM
Hi Liji Jose,

You can use RadFormDecorator for that.

<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
<head runat="server">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>RadControls</title>
<style type="text/css">
 
.RadForm_Office2007.rfdZone
{
    background-color:yellow !important;
}
 
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
 
<p>Select a skin (e.g. Black, Forest, Hay)</p>
 
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
 
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Zone" />
 
<p>The Office2007 skin has a white background color by default, but you can change it by overriding the skin.</p>
 
</form>
</body>
</html>



Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Liji Jose
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or