clipboard / ajax

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
 
B

bruce barker

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

-- bruce (sqlwork.com)
 
M

Michael Nemtsev

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top