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

Mouse select not working

5 Answers 154 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 03 Aug 2011, 12:30 PM
Hi, I am having a very silly issue, but I just can't see what I am doing wrong.

Basically, I have a standard System ComboBox that contains three items and I have added a SelectionChanged event.  This all works nicely and does what I expect.   I want to change this to a Telerik RadComboBox, so I change the gadget type to RadComboBox and change the eventArgs from System to Telerik.

My problem comes when I run the page, I can drop down the combo list, but selecting one of the values doesn't work.  Clicking on an option does nothing most of the time, occationally it will select but I can't find a way to repeat it.   With the drop down list closed I can use the mouse wheel and the cursor key to scroll through the options without a problem and the event fires as expected.

Any ideas why the mouse selection isn't working consistantly?

Many thanks.

5 Answers, 1 is accepted

Sort by
0
Thad
Top achievements
Rank 2
answered on 03 Aug 2011, 12:40 PM
Hi Stephen,

We are experiencing this as well since we switched to Q2 and to using EnableLoadOnDemand, but have not yet come up with a solution nor does it happen consistently enough to be able to send a support ticket to Telerik.

If we find a solution, I will let you know.  Otherwise, anyone else figured it out yet?

Thanks!
Thad
0
Stephen
Top achievements
Rank 1
answered on 03 Aug 2011, 01:01 PM
Hi, thanks for the reply.  After leaving it for a bit and doing something else to clear my head, I came back and found a 'solution'.

I finally noticed how to make the menu option select consistantly with the mouse, when the list is shown and you hover over an option (in my page at least) the option is highlighted in yellow with a red boarder.  If you click on the boarder or just outside it will select, annoying but it made me have a look at the colloectionItem properties.  After turning off the option IsHitTestVisible the combo items can be selected by clicking normally over an option.

One issue down, one to go :)
0
Thad
Top achievements
Rank 2
answered on 03 Aug 2011, 01:39 PM
Hi Stephen,

I apologize, but are you using Telerik Controls for ASP.NET AJAX?  I wasn't familiar with IsHitTestVisible so I googled it and it  seems to only be a property associated with Windows development.

If you are using ASP.NET, can you provide a code sample to retrieve the IsHitTestVisible property?  I'd be grateful if I could learn something new early in the day in case it doesn't happen later on!  :-)

Thanks!
Thad
0
Stephen
Top achievements
Rank 1
answered on 03 Aug 2011, 01:49 PM
Ah, whoops, I got here via google and didn't notice it was the AJAX forum, this should be in the Silverlight forum instead.  Sorry about that :(
0
Thad
Top achievements
Rank 2
answered on 03 Aug 2011, 02:12 PM
Ha!  It happens!  Enjoy your day.

Thad
Tags
ComboBox
Asked by
Stephen
Top achievements
Rank 1
Answers by
Thad
Top achievements
Rank 2
Stephen
Top achievements
Rank 1
Share this question
or