By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,422 Members | 1,455 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,422 IT Pros & Developers. It's quick & easy.

Control Clipboard in ASP

P: n/a
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. Is there another method to use
that will pass data from the page to the clipboard?
--
Regards,
Jamie
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Wed, 25 Jun 2008 10:00:14 -0700, thejamie
<th******@discussions.microsoft.comwrote:
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. Is there another method
to use
that will pass data from the page to the clipboard?
There must be, since AFAIK you can do anything in ASP that you could do
with regular HTML, and since the tinyurl.com web site copies the results
of their processing to the clipboard for you.

For more details, you'll probably want to look at the HTML they generate
and see how they're doing it.

Pete
Jun 27 '08 #2

P: n/a
On Jun 25, 1:00 pm, thejamie <theja...@discussions.microsoft.com>
wrote:
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. Is there another method to use
that will pass data from the page to the clipboard?
--
Regards,
Jamie
You should be able to do so in JS. I am not sure if it is enabled by
default in most browsers.

http://www.dynamic-tools.net/toolbox/copyToClipboard/

http://support.mozilla.com/en-US/kb/...+the+clipboard
Jun 27 '08 #3

P: n/a
On Jun 25, 1:00*pm, thejamie <theja...@discussions.microsoft.com>
wrote:
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. *Is there another method to use
that will pass data from the page to the clipboard?
--
Regards,
Jamie
Hi,

Web & Win are two different platform and even as there are casess that
you need to use namespaces in the other platform the UI is not usable.

Besides, what makes you think that the OS where the browser is
running has a clipboard in the first place? :)
Anyway, check a javascript NG as I think that IE has such a feature
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.