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

KeyUp event

1 Answer 68 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki asked on 05 Jul 2012, 11:42 AM
Hi,

We try to handle KeyUp event in our dialogs and perform 'accept' action on it, when user presses "Enter".
The problem is when the users selects an item from expanded ComboBox with keyboard and accepts selection with "Enter".
We handle the keyUp event, but unfortunately it does not have Handled flag set, so that the dialog is closed, what was not intended by user...

Is it possible to be fixed?

Best regards

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 10 Jul 2012, 08:11 AM
Hi MiƂosz,

You could either set the event as handled, or where you check to close the window, you could check the OriginalSource of the event - if it is the ComboBox not to close the window.

Hope this helps.

Kind regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ComboBox
Asked by
Miłosz Cechnicki
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or