RadGridView's KeyDown event not handle Enter Key?

4 posts, 0 answers
  1. tungnt185
    tungnt185 avatar
    40 posts
    Member since:
    Aug 2009

    Posted 01 Jun 2010 Link to this post

    Hello Telerik Teams,

    I'm using Telerik for Silverlight version 2010.1.430.1040.
    When using RadGridView's Keydown event, It not handle Enter Key as I wish.
    Althought my code's convert from SL3 and it work fine.

    Please show me how can I solve this problem.
    Thanks
  2. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 01 Jun 2010 Link to this post

    Hello Taufik Hidayat,

     We already handle the event when the Enter key is pressed, because that triggers functionality in our Grid (end edit, move to next row, etc.), that's why it doesn't bubble to your handler. Could you please describe your scenario in a bit more detail, so that we might reach an alternate solution, if needed.

    All the best,
    Yavor Georgiev
    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.
  3. DevCraft banner
  4. Jonas Hero
    Jonas Hero avatar
    9 posts
    Member since:
    Jul 2009

    Posted 06 Jul 2010 Link to this post

    Hello!

    i also have an issue with the keydown event of the gridview. what i want to do, is disabeling the default behaviour of the enter key and getting the bubbled event in the handler assigned to the keydown event of the grid. is there any chance to do this?

    another possibility would be to run in some managed code without an eventhandler, but the default functionalty (selecting the next row in my simple example) should be disabled, too.

    thanks for you help!
    jonas
  5. Jonas Hero
    Jonas Hero avatar
    9 posts
    Member since:
    Jul 2009

    Posted 07 Jul 2010 Link to this post

    Issue could be solved with a custom KeyboardCommandProvider as used in the sample solution in this threat.

    http://www.telerik.com/community/forums/silverlight/gridview/tab-and-enter-in-rowdetailstemplate.aspx
Back to Top