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

[Solved] Disable mouse wheel

2 Answers 162 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.
ss
Top achievements
Rank 1
ss asked on 11 Oct 2010, 10:25 AM

Hello,

I need to implement custom scrolling => i need to disable mouse wheel scrolling to be able to handle mouse wheel. Can you please help me how to do this. Is it possible?

I tried to use IsCustomScrollingEnabled but it works only if verticalscrollbar thumb is clicked. 

Look at the example please.

http://cid-bf6ef922df39a27b.office.live.com/self.aspx/.Public/CustomScrolling.zip

If I set IsCustomScrollingEnabled = true before 

sw.ScrollChanged += new ScrollChangedEventHandler(sw_ScrollChanged);

vertical scrollbar is changed by mouse whell. If I set IscustomScrollingEnabled = true after 

sw.ScrollChanged += new ScrollChangedEventHandler(sw_ScrollChanged);

vertical scrollbar is changed by mouse whell but if you click on vertical scrollbar thumb, vertical scrollbar is never changed by mouse whell.

I need second functionality because I have to change vertical scrollbat position myself, but without clicking.

Thank you.

2 Answers, 1 is accepted

Sort by
0
ss
Top achievements
Rank 1
answered on 12 Oct 2010, 01:27 PM

I think I have to use different way to resolve my problem. Do you know some way how to bind my custom value property to verticalScrollBar property of RadGridView? I tried to do this but it doesnt work.

Thank you.

0
Vlad
Telerik team
answered on 12 Oct 2010, 01:40 PM
Hi,

 If you want to download data on scroll I suggest you to check this thread for more info. 

Regards,
Vlad
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
Tags
GridView
Asked by
ss
Top achievements
Rank 1
Answers by
ss
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or