KeyUp event

2 posts, 1 answers
  1. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 05 Jul 2012 Link to this post


    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
  2. Answer
    Konstantina avatar
    2332 posts

    Posted 10 Jul 2012 Link to this post

    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,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top