PDA

View Full Version : How to get copied content into a grid?



DineshGudikandula
16 Jun 2014, 5:02 AM
Hi all,

I have requirement like, "User copy the text content using Key board short cut "Ctrl+c" and then he want to past that copied content into grid by using grid contextmenu "Paste" item".Here i am facing problem with to get the copied text content into contextmenu "itemclick" event.

Any appreciable reply..

mitchellsimoens
18 Jun 2014, 9:28 AM
Browsers treat the clipboard as a security issue and therefore do not give you access to it. You cannot get/set the clipboard via JavaScript.