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

Struggling to style grid

1 Answer 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brendan Vogt
Top achievements
Rank 1
Brendan Vogt asked on 23 Aug 2010, 09:23 AM
Hi,

I am struggling to style a grid, I am using Telerik RadControls for ASPNET AJAX Q2 2008.  I created a test project with a Default.aspx page and referenced the Telerik.Web.UI.dll and dropped a grid on the default page.  Nothing more.  I binded some data to the grid and the grid displayed and there was already styles associated with it.  Where do these styles come from?  I did not copy any of the installed skins to my web project.

The skinning seems to be different from previous versions of Telerik.  In an older project that I worked on, I created a RadControls directory, and then something like Grid/Skins/Default/Styles.css.  How does the directory structure have to look like for ASPNET AJAX Q2 2008.  If I go to the installed directory then it would like something like C:\Program Files\Telerik\RadControls for ASPNET AJAX Q2 2008\Skins\Default.

What I am trying to say is that I would change some header text to red (to test it) and then the text still comes out black.  Or I would change to make all the text bigger, then it still displays as the default text size.  I have checked out the articles online and they don't help much.

Can someone please help me on the correct path to do this styling the right way?

Thanks
Brendan

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 23 Aug 2010, 09:46 AM
Hi Brendan,

The skinning mechanism of the RadControls for ASP.NET AJAX is different - there is no more a "RadControls" directory. Please refer to the following resources.

http://www.telerik.com/help/aspnet-ajax/controlling-appearance-overview.html
(plus all the style-related articles in the same section - see the left navigation tree)

http://www.telerik.com/help/aspnet-ajax/grd-understanding-html-css.html

http://www.telerik.com/help/aspnet-ajax/grdcreatingnewskins.html

http://www.telerik.com/help/aspnet-ajax/css-sprites.html

Keep in mind that the CSS classes in the current version of RadGrid are different from the ones in your version. You can compare the new and old CSS classes in the third link above.

With regard to your question about overriding the embedded RadGrid skin, please refer to:

http://www.telerik.com/help/aspnet-ajax/modifyingexistingskins.html

Regards,
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
Grid
Asked by
Brendan Vogt
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or