469,588 Members | 2,688 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,588 developers. It's quick & easy.

Capture CTRL + C and CTRL + V event in aspx

Hi,

I am trying to capture the CTRL + c event and then get the selected value and then capture the CTRL + V event and paste the selected value in the selected range in the fp webform 2.5. any pointers to this issue will be of most help..

Thanks in advance
Jan 28 '08 #1
1 3326
hi

to copy the selected content to clipboard
DataObject d = sourceDGV.GetClipboardContent();
Clipboard.SetDataObject(d);

and at the time of pasting u get the copied content by
string s = Clipboard.GetText();

and use this string where u want to paste the content..

Aru
Jan 28 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Mr. x | last post: by
2 posts views Thread by Pradeep M M | last post: by
2 posts views Thread by Don | last post: by
4 posts views Thread by t3projects | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.