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

Scrollbars Windows RadGridView

3 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 19 Mar 2008, 10:47 PM
I am unable to get the scrollbars to appear when displaying data using the windows radgridview control. In the designer I am unable to set the Visibility attribute from Collaped to anything else, as it just reverts back to Collapsed after making a change. Also when setting scrollbar settings do you need to set the Margins property as well??

My grids are bound to LINQ objects sets and the columns are setup manually.



Thanks
Ken Norwick (new Telerik user)

DisplayGrid.MasterGridViewTemplate.AllowDeleteRow =

false;

DisplayGrid.MasterGridViewTemplate.AllowEditRow =

false;

DisplayGrid.MasterGridViewTemplate.AutoGenerateColumns =

false;

DisplayGrid.MasterGridViewTemplate.HorizontalScrollState =

ScrollState.AlwaysShow;

DisplayGrid.MasterGridViewTemplate.ShowRowHeaderColumn =

true;

DisplayGrid.MasterGridViewTemplate.Caption =

"Grid Caption";

DisplayGrid.MasterGridViewTemplate.VerticalScrollState =

ScrollState.AlwaysShow;

3 Answers, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 20 Mar 2008, 02:31 PM
Hello Ken,

Thank you for contacting us.

When the ScrollState is set to AllwaysShow, you should always see the scrollbars. Do not try to change their visibility through the Visibility property. If you are using a custom theme, it is possible that the scrollbar  position is  somewhere out of the visible control area. Please, could you open a support ticket an send us your application. This will help us investigate any potential issue.

Let me know, if you have other questions.

All the best,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ken
Top achievements
Rank 1
answered on 22 Mar 2008, 01:05 PM
The scrollbars are working fine. It seems that my inexperience with winforms applications was the problem. I had nested several panel objects and the combination was trimming off the right-hand side of the the radGridView control and cutting off the scrollbar area. I corrected my page design and the scrollbars appear as planned. I have been working with ASP.NET/AJAX projects and was projecting web-based control behaviours onto your windows controls..

ken
0
Jack
Telerik team
answered on 24 Mar 2008, 12:25 PM
Hello Ken,

I am glad to hear that the issue is now resolved. Do not hesitate to write me, if I can assist you further.

Regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Ken
Top achievements
Rank 1
Answers by
Jack
Telerik team
Ken
Top achievements
Rank 1
Share this question
or