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

[Solved] I want Always Hide vertical scrollbar

3 Answers 346 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Guillermo Aquino
Top achievements
Rank 1
Guillermo Aquino asked on 30 Jun 2010, 09:44 AM

My RadGridView is a part of my component then I want hide the vertical scrollbar, 

I want to controller the RadGridView scrollbar through my component ScrollBar,  is this possible?

Thanks

Best Regards.

Guillermo Aquino

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 30 Jun 2010, 10:19 AM

Hello Guillermo Aquino,

You can easily hide the horizontal scrollbar of RadGridView by setting "ScrollViewer.VerticalScrollBarVisibility="Hidden"".

If I have understood you correctly you have a master ScrollViewer which will control the scrolling and the is contained within this master ScrollViewer. This scenario is not recommended since the master ScrollViewer will measure the grid with infinite width and height which will disable our virtualization mechanism and most probably result in reduces performance. 



Sincerely yours,
Milan
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
Ulrich Fiege
Top achievements
Rank 1
answered on 02 Sep 2010, 01:53 PM

Hello,
how can i set from code behind (VB) the scrollbar from hidden to visible?
thank you ...
0
Vlad
Telerik team
answered on 02 Sep 2010, 02:28 PM
Hello,

 You can set this like any other DependencyProperty:

RadGridView1.SetValue(ScrollViewer.VerticalScrollBarVisibilityProperty,  ScrollBarVisibility.Hidden);

Regards,
Vlad
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
Guillermo Aquino
Top achievements
Rank 1
Answers by
Milan
Telerik team
Ulrich Fiege
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or