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

[Solved] keypress on edit mode RadGrid

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
pooria
Top achievements
Rank 1
pooria asked on 06 Aug 2013, 11:39 AM
I have Radgrid of Telerik components on my webpage , in this grid with double click the selected row go to edited mode . (I use this article http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx ) now i want this : for example i'm in the first row and second column in edit mode . i want when the operator press CTRL another webpage show as pop-up ; i know how to show the pop-up page but i don't know how to programming for pressed key on aspecified column .

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 09 Aug 2013, 10:16 AM
Hello Pooria,

I have to say that this requirement will be hard to meet. Generally when you press only the CTRL the OnKeyPress event of the grid will not fire. However you can try subscribing to the OnItemCreated event, obtain a reference to the editors in the edit item and attach a handler for the OnKeyDown event. Additionally you can pass as an argument the name of the column to which this editor belongs. By following this approach you should be able to make things work.

Regards,
Angel Petrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
pooria
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or