Control Clipboard in ASP

  • Thread starter Thread starter thejamie
  • Start date Start date
T

thejamie

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?
 
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?

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/Granting+JavaScript+access+to+the+clipboard
 
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?

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
 

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

Back
Top