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

space under the scrollbar

2 Answers 22 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sperduti
Top achievements
Rank 1
Sperduti asked on 21 Nov 2007, 08:16 AM
Hi,
when I use on my gridview the Vista Theme, I can see a white space under the scroollbar and I don't find how to take away this.
I see that with another theme, this space not appear.
How can  I do?

Regards,

YSP


2 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 21 Nov 2007, 12:03 PM
Hi Sperduti,

Thank you for this question.

You can remove the spacing under the scrollbar by removing the padding from the GridTableElement. This can be done by modifying the Vista theme or  programmatically.

Refer to the following snippet:

((GridTableElement)this.radGridView1.GridElement).Padding = new Padding(0); 

Don't hesitate to write us if you have other questions.

Kind regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sperduti
Top achievements
Rank 1
answered on 21 Nov 2007, 03:37 PM
Thank you, I have make my own Theme and add it to my gridview and it work too.

Regards,

YSP
Tags
GridView
Asked by
Sperduti
Top achievements
Rank 1
Answers by
Jack
Telerik team
Sperduti
Top achievements
Rank 1
Share this question
or