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

Vertical Scroll Bars

1 Answer 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 2
Marc asked on 19 Mar 2009, 03:57 AM
I have a grid that has the VerticalScrollState set to AutoHide.  Is there a way at runtime to determine if the vertical scrollbar is currently visible or not?

Thank you.


1 Answer, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 19 Mar 2009, 09:14 AM
Hello Marc,

Yes, this is possible. You should check the Visibility property of the VScrollBar property. Here is a sample:

if (this.radGridView1.GridElement.VScrollBar.Visibility == ElementVisibility.Visible) 
    //... 
 

If you have any other questions, we will be glad to help.

Best wishes,
Jack
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Marc
Top achievements
Rank 2
Answers by
Jack
Telerik team
Share this question
or