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

GridView with no border

1 Answer 178 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deborah
Top achievements
Rank 1
Deborah asked on 28 Sep 2010, 07:19 PM
Hi -

I am trying to display a grid with no outer border (around the outside of the grid).

I Binged and searched several options, such as setting the BorderWidth = 0, but none of the things I tried actually removed the border.

Is there a way to clear the border?

If I do have to have a border, is there a way to make it rounded?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 01 Oct 2010, 01:29 PM
Hi Deborah,

You can do it simply by setting the DrawBorder property of RadGridViewElement and GroupPanelElement:

this.radGridView1.GridViewElement.DrawBorder = false;
this.radGridView1.GridViewElement.GroupPanelElement.DrawBorder = false;

Greetings,
Svett
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
GridView
Asked by
Deborah
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or