Control Clipboard in ASP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?dGhlamFtaWU=?=

    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
  • Peter Duniho

    #2
    Re: Control Clipboard in ASP

    On Wed, 25 Jun 2008 10:00:14 -0700, thejamie
    <thejamie@discu ssions.microsof t.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

    Comment

    • parez

      #3
      Re: Control Clipboard in ASP

      On Jun 25, 1:00 pm, thejamie <theja...@discu ssions.microsof t.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.




      Comment

      • Ignacio Machin ( .NET/ C# MVP )

        #4
        Re: Control Clipboard in ASP

        On Jun 25, 1:00 pm, thejamie <theja...@discu ssions.microsof t.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

        Comment

        Working...