clipboard / ajax

  • Thread starter Thread starter Chang Lui
  • Start date Start date
C

Chang Lui

Does anybody know how to let the user click a link/button and copy text from
the browser to clipboard. Isn't there a ajax-control out there somewhere?

Thanks
 
if you are using IE, and the security setting allows it, you can create
a textRange and execCommand('Copy').

-- bruce (sqlwork.com)
 
Hello Chang,

you need to use JavaScript to copy test to clipboard. Take into account that
can be prohibited by the browser security

See there number of samples http://groups.google.com/groups/search?q=asp.net+JavaScript+clipboard+copy&qt_s=Search


---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

CL> Does anybody know how to let the user click a link/button and copy
CL> text from the browser to clipboard. Isn't there a ajax-control out
CL> there somewhere?
CL>
CL> Thanks
CL>
 
Back
Top