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

Dropdown selection not activated with mouse button up

3 Answers 72 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David Ching
Top achievements
Rank 1
David Ching asked on 16 Jul 2008, 11:38 PM
Hello, I am experiencing a basic problem with Telerik controls concerning when the mouse down is performed on one part of the control, and the mouse up occurs on another part of the control.  The item is not selected in that case.

For example, in the case of the RadCombobox, if I click the mouse button over the drop down arrow, the combobox opens.  Without releasing the mouse button, I move the cursor over an item in the drop down, and then release the button.

Expected behavior:  the item would be selected and placed into the edit box portion of the combobox.

Actual behavior:  the item is not selected; the drop down remains open, and I must push and release the mouse button on the desired item to select it.

This happens no matter how I set the ClickMode property.

Another example is in RadMenuStrip.  If I have a simple menu:

  File
       Exit

and I click over File, it drops down the menu to show the Exit item.  Without releasing the button, I highlight Exit and release the button.

Expected Behavior:  The Exit menu item's click event is fired.
Actual Behavior:  It is not fired.  I have to click Exit and release mouse button again to select it.

I don't understand why this is the default behavior when normal Windows apps have been doing it my way for decades?  FWIW, the DevExpress menus work exactly the same way as yours, so I'm thinking there is a fundamental change of thinking with control developers!  ;)

Thanks,
David

3 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 18 Jul 2008, 03:19 PM
Hello David Ching,

Thank you for your suggestion. This behavior is by design in our framework. We'll consider changing this behavior in case other people find it unintuitive.

Thank you for your feedback.
 
Kind regards,
Georgi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Ching
Top achievements
Rank 1
answered on 18 Jul 2008, 05:39 PM

Thank you Georgi.  FWIW, I think you should design your controls so that by default they emulate the behavior of the standard control they are replacing (e.g. the standard Winforms combobox and menu have the selection behavior I desire.)  I see no reason why yours works the way it does and can't imagine anyone prefers it.  But maybe I'm the only one who cares!  :-)

Thanks,
David

0
Vassil Petev
Telerik team
answered on 22 Jul 2008, 08:20 AM
Hi David Ching,

We are always doing our best to design our controls as similar as possible to the standard ones. However, in some cases this is not possible. While the standard controls are built using the internal mechanisms of the OS, ours are built on an external framework and sometimes it is very difficult to implement exactly the same behavior. At least, not at a reasonable price.

Still, we consider your suggestion as a feature request and it has been logged in our issue tracker. If we receive other similar requests, we will escalate the implementation of this feature. I have updated your Telerik points for pointing this shortcoming out.

Thank you once again for your response - we are always happy to review our customer's suggestions, because they help us make our controls better.


 
Best wishes,
Vassil
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
David Ching
Top achievements
Rank 1
Answers by
Georgi
Telerik team
David Ching
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or