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

Reference Skin class from other UC

4 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Waleed Seada
Top achievements
Rank 2
Waleed Seada asked on 01 Jun 2008, 10:48 AM
Dear All,

I am creating a custom interface, where I need to apply the current skin settings from the skin class defined in the Telerik .css file associated with each RadControl.

I try to create a DIV with class="rpRoot" to apply the panelbar item style, but didn't work, is this the right way to achieve this .....?!

Thanks and best regards.
Waleed

4 Answers, 1 is accepted

Sort by
0
Weibin
Top achievements
Rank 1
answered on 16 Jun 2008, 06:54 AM
I need this too.
0
Waleed Seada
Top achievements
Rank 2
answered on 16 Jun 2008, 07:43 AM
WeiBin, Maybe the question isn't clear, let's reform it again as follows:

How can we reference the .css classes for any RadControl ?

Thanks and best regards,
Waleed
0
Accepted
Alex Gyoshev
Telerik team
answered on 16 Jun 2008, 10:17 AM
Hello Waleed Seada,

A reference of the CSS selectors can be found in the online help for RadControls for ASP.NET AJAX, in the Appearance and styling > CSS Skin File Selectors articles. There are specific files for each RadControl (after all, each has its own CSS class prefix) - the following article is for RadPanelBar.

The classes can be used outside the RadControls, but all of them are targeted using the .RadControlName class (.RadPanelBar, for example).

Sincerely yours,
Alex
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Weibin
Top achievements
Rank 1
answered on 16 Jun 2008, 10:28 AM
hello, telerik administrator, thanks for your reply.
what worried me is:

I defined a html table,such as
<table>
<tr>
<td>Name</td>
<td>Sex</td>
<td>Age</td>
</tr>
<tr>
<td>Sandy</td>
<td>Male</td>
<td>35</td>
</tr>
</table>
I want to assign some of RadControls' predefined css to the header row.
<table>
<tr>
<td class="GridHeader_Vista">Name</td>
<td class="GridHeader_Vista">Sex</td>
<td class="GridHeader_Vista">Age</td>
</tr>
<tr>
<td>Sandy</td>
<td>Male</td>
<td>35</td>
</tr>
</table>

but I don't know how to reference the "GridHeader_Vista" css class.

Tags
General Discussions
Asked by
Waleed Seada
Top achievements
Rank 2
Answers by
Weibin
Top achievements
Rank 1
Waleed Seada
Top achievements
Rank 2
Alex Gyoshev
Telerik team
Share this question
or