How to make "Add to clipboard" functionality in asp.net

.net, asp.net, c#

Solution

You need to implement this with JavaScript, as copying to the user's clipboard has to be done on the client machine and not on the server. See this post:

How do I copy to the clipboard in JavaScript?

Problem

How do I achieve add to clipboard functionality in asp.net web site, if I have to copy text in textbox or label. Please help

Original source