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

Alternate Items

2 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 20 Apr 2010, 05:32 PM
I am using a single telerik:GridTemplateColumn with an ItemTemplate to list a grid of articles.  I set BorderStyle="None" and GridLines="None" but every 2nd row has a gray border seperating the row.  I thought a border must be being used for the alternate rows, so I added AlternatingItemStyle-BorderStyle="None" but it is still there.  Any ideas?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 21 Apr 2010, 09:15 AM
Hi Neil,

If I am not mistaken, you have removed the RadGrid row backgrounds, is that correct? In this case you can use

RadGrid.ClientSettings.EnableAlternatingItems="false"

This will make the border color white (if you are using the Default skin), so you will not see the borders.

Alternatively, you can override the RadGrid skin and remove the borders with CSS:

http://www.telerik.com/community/code-library/aspnet-ajax/grid/how-to-add-or-remove-radgrid-borders.aspx


All the best,
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.
0
Neil
Top achievements
Rank 1
answered on 21 Apr 2010, 02:02 PM
Great, thanks Dimo!
Tags
Grid
Asked by
Neil
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Neil
Top achievements
Rank 1
Share this question
or