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

[Solved] Possible to get more control over CSS classes used?

1 Answer 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jordan Earls
Top achievements
Rank 1
Jordan Earls asked on 09 Feb 2010, 05:13 PM
Hello, I am making a web application. In it, we use the jquery-ui CSS framework classes as a way of implementing an easy to use and simplistic theming system. This lets us be able to use Themeroller to get a new theme for our site(theme can be chosen per-user)

Well, I see how in (for example) the AJAX Grid, there are some classes used like `rgHeader` and `rgRow`. I would like to replace the class names with something like `ui-widget-header` and such.. How is this possible? Also, is there any kind of documentation on the CSS classes that are used?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 10 Feb 2010, 09:08 AM
Hi Jordan,

Please refer to the following help articles and let us know if you need more information:

RadGrid CSS classes - note that there are two lists for different control versions
http://www.telerik.com/help/aspnet-ajax/grdcreatingnewskins.html

Customizing row appearance
http://www.telerik.com/help/aspnet-ajax/grdcustomizingrowappearance.html

Instead of setting inline styles (e.g. BackColor), you can set CSS classes - with ItemStyle-CssClass, HeaderStyle-CssClass, etc.

Greetings,
Dimo
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
General Discussions
Asked by
Jordan Earls
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or