RadGridView Scroll in Windows 8 too thin

6 posts, 0 answers
  1. Allen
    Allen avatar
    18 posts
    Member since:
    Apr 2013

    Posted 24 Jun 2014 Link to this post

    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
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 27 Jun 2014 Link to this post

    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.
     
  3. DevCraft banner
  4. Allen
    Allen avatar
    18 posts
    Member since:
    Apr 2013

    Posted 29 Jun 2014 in reply to Vanya Pavlova Link to this post

    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
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 30 Jun 2014 Link to this post

    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.
     
  6. Allen
    Allen avatar
    18 posts
    Member since:
    Apr 2013

    Posted 30 Jun 2014 in reply to Dimitrina Link to this post

    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

  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 01 Jul 2014 Link to this post

    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.
     
Back to Top
DevCraft banner