471,336 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Control Clipboard in ASP

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
3 1030
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
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
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.

Similar topics

3 posts views Thread by keith | last post: by
4 posts views Thread by Jason Sobell | last post: by
2 posts views Thread by Ike | last post: by
4 posts views Thread by TheGanjaMan | last post: by
3 posts views Thread by Fritz Switzer | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.