Max Zhukov
Max Zhukov

Reputation: 897

Using .NET Clipboard in ASP.NEt WebForms app

I need to copy data from Webform to clipboard. But standard System.Windows.Forms.Clipdoard doesn't work, and it's expectable.

I've found solution with JS, but it'll be better to use code-behind.

How can I do it?

Upvotes: 0

Views: 1121

Answers (1)

giacomelli
giacomelli

Reputation: 7415

If you need to copy some data to user's clipboard, so you'll need to use some JS solution.

A good one is ZeroClipboard. Is same solution used by GitHub site to copy "HTTPS clone URL" to user clipboard.

Upvotes: 1

Related Questions