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

RadGridView's KeyDown event not handle Enter Key?

3 Answers 305 Views
GridView
This is a migrated thread and some comments may be shown as answers.
tungnt185
Top achievements
Rank 2
tungnt185 asked on 01 Jun 2010, 11:58 AM
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

3 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 01 Jun 2010, 02:34 PM
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.
0
Jonas Hero
Top achievements
Rank 1
answered on 06 Jul 2010, 04:43 PM
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
0
Jonas Hero
Top achievements
Rank 1
answered on 07 Jul 2010, 01:40 PM
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
Tags
GridView
Asked by
tungnt185
Top achievements
Rank 2
Answers by
Yavor Georgiev
Telerik team
Jonas Hero
Top achievements
Rank 1
Share this question
or