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

RadGridView Scroll in Windows 8 too thin

5 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Allen
Top achievements
Rank 1
Allen asked on 24 Jun 2014, 10:57 PM
I am using a RadGridView and notice that when the Grid gets too long the vertical scroll is too thin and makes it hard for users to select it and scroll.

This happens for the windows 8 theme as shown in the attachment.

Is it possible for me to get the control template for the scroll bar used in the Grid in the Windows 8 theme so I can make it wider?

Thanks

5 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 27 Jun 2014, 03:33 PM
Hello Allen Ho,


You should modify the template of ScrollViewer for Windows8 and change Width and Height properties of the Thumb in order to achieve your goal: 

<Style x:Key="ThumbVerticalStyle" TargetType="Thumb">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Width" Value="22"/>
 
  <Style x:Key="ThumbHorizontalStyle" TargetType="Thumb">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Height" Value="22"/>
        <Setter Property="Template">


I'm attaching you sample project which demonstrates how to achieve your goal. 


Regards,
Vanya Pavlova
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Allen
Top achievements
Rank 1
answered on 30 Jun 2014, 02:48 AM
Hi Vanya,

Thanks for that,
But for whatever reason when I apply that template the scroll in my RadGridView is still not being updated.

Any ideas what to do?

Thanks
0
Dimitrina
Telerik team
answered on 30 Jun 2014, 08:44 AM
Hi,

Are you eventually using Implicit Styles? If, please follow the article on how to define Styles.
Otherwise, if you have referenced the full binaries and the style is still not applied, may I ask you to open a support thread and attach the project there?
I have forwarded your other ticket to the sales department and they should advise you on how you can open a support thread.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Allen
Top achievements
Rank 1
answered on 30 Jun 2014, 11:07 PM
Hi Didie,

I believe I am setting the implicit styles correctly.
This is because scroll bars are set correctly elsewhere in the application but not getting set correctly for the scroll bars that are shown in the RadGridView

I am hesitant about sharing code as I need to discuss that with my company.
Any information as to why this may be is appreciated
Thanks

0
Dimitrina
Telerik team
answered on 01 Jul 2014, 07:35 AM
Hi,

You can try changing the sample my colleague previously sent to replicate the case you have. 
It is indeed strange that this works in the demo, the style also gets applied to all other controls in your solution, however, it does not get applied for the RadGridView in your same solution.

I am afraid we cannot suggest much without a sample project. You can also take a look at this blog post for a reference on how to isolate an issue. 

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Allen
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Allen
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or