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

[Solved] Manipulate GridView ScrollBar

6 Answers 118 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.
Chris
Top achievements
Rank 1
Chris asked on 13 Oct 2010, 10:30 AM
Hey there,

i` m currently trying to manipulate the "Hover effect" of an ScrollBar within a GridView.

Are there any demos out there? Because i can´t find a template or default style to manipulate the "Hover effect color".

Thanks in advance and Regards.

Chris

6 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 13 Oct 2010, 03:09 PM
Hi Chris,

To change the MouseOver effect you should access the GridViewScrollViewer from the template of the RadGridView. Edit its template and then you can change the either horizontal or vertical scrollbars in the way you need. You may use the following thread for reference.

Hope this helps.

Sincerely yours,
Vanya Pavlova
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
Chris
Top achievements
Rank 1
answered on 14 Oct 2010, 08:20 AM
Hey Vanya,

i`ve already tried to edit the GridViewScrollViewer but if i`ve droped the control from the toolbox to my design view i got the attached exception. Same exception appears if i´m tryiung to edit the template.

Do you have any suggestions for me?

I´m using RadControlsforSilverlight Q2 2010 SP 2 and a normal Silverlight Project + Web Application in Silverlight 4.0 VB.NET.

Thanks in advance and regards.

Chris
0
Chris
Top achievements
Rank 1
answered on 14 Oct 2010, 08:23 AM
Attached the exception
0
Chris
Top achievements
Rank 1
answered on 14 Oct 2010, 09:03 AM
Hey again,

it seems to be that it´s not only a issue on my pc or in my project.

2 colleagues of mine tested the behaviour and have the same issue, we´ve created several sample projects including all references and its all over the same.

Even your sample project that you reffered to me had this problem.



0
Kalin Milanov
Telerik team
answered on 14 Oct 2010, 09:43 AM
Hi Chris,

It seems there is an issue with dropping the GridViewScrollViewer on Blend's design surface and we will be investigating and fixing this. There is a workaround however. Before dropping the ScrollViewer just drop an empty RadGridView. There is no need to bind it or set anything to it - just have it present while you are doing the styling and it should work.

Best wishes,
Kalin Milanov
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
Chris
Top achievements
Rank 1
answered on 15 Oct 2010, 07:30 AM
Hey Kalin,

first i would like to thank you for your quick response.

I tried your suggested workaround and it indeed worked. Now i can edit the behaviours.

Regards and thanks a lot.

Chris
Tags
GridView
Asked by
Chris
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Chris
Top achievements
Rank 1
Kalin Milanov
Telerik team
Share this question
or