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

Handle Copy/Paste between two GridViews

4 Answers 71 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Daniil
Top achievements
Rank 1
Daniil asked on 17 Jun 2010, 09:28 AM
Hello,

My view has two GridViews controls.

When user selects several rows in first GridView I need to response to Ctrl+C and remember the rows he selected (I do not need to store data in a clipboard).

When user focuses second grid and presses Ctrl+V I need to copy selected rows from first to second grid.

I don't have problem coping these rows, I just to know how can I capture Ctrl+C and Ctrl+V when grids are focused.

Thank You!

4 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 17 Jun 2010, 09:33 AM
Hello Daniil,

 You would need to handle the GridView's KeyDown event.

Kind regards,
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
Daniil
Top achievements
Rank 1
answered on 17 Jun 2010, 09:43 AM
Thanks for quick answer!

Can I bind KeyDown event to Command object?
0
Yavor Georgiev
Telerik team
answered on 17 Jun 2010, 09:50 AM
Hi Daniil,

 Please check out this link.

Kind regards,
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
Daniil
Top achievements
Rank 1
answered on 17 Jun 2010, 02:26 PM
Thanks

Solved it
Tags
GridView
Asked by
Daniil
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Daniil
Top achievements
Rank 1
Share this question
or