Professional Web Applications Themes

Exporting to Clipboard - ASP.NET Data Grid Control

Hi, How do I copy the contents of my ASP Datagrid to the clipboard so I can then paste the data to where I need it. Regards Tim...

Sponsored Links
  1. #1

    Default Exporting to Clipboard

    Hi,

    How do I copy the contents of my ASP Datagrid to the clipboard so I can then
    paste the data to where I need it.

    Regards Tim


    Sponsored Links
    Tim Marsden Guest

  2. #2

    Default RE: Exporting to Clipboard

    Hi Tim,

    Welcome to ASPNET newsgroup.
    As for the copying webform datagrid content into Clipboard question you
    mentioned, here are some of my understanding:

    1. For ASP.NET web application, the serverside application only render out
    HTML/client scripts to the clientside and then at clentside, the browser
    p the html/scrpit and displaying in the browser window. So the
    serverside can only put some simple script code at clientside and due to
    the restriction of web page, we can't access most of the clientside
    resource such as file system, clipboard......

    As for clipboard, it all depends on the clientside's browser support, for
    example, we can select the content in a certain page within browser and
    copy it. Then, paste the content into Word doent , as for clientside,
    the ability of copy/paste is limited to the brwoser's support and the
    target application's support for pasting data.(notepad can't accept html
    content)

    2. If you're requesting the asp.net page through a custom application such
    as a .net windows form app, we can use httpwebRequest class to get the
    remote page's content (html code) and then store it in memory or clipboard
    for later use.

    Anyway, it all depends on your detailed scenario. Would you please provide
    some further description on your requirement? Thanks,

    Steven Cheng
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)






    Steven Cheng[MSFT] Guest

Similar Threads

  1. [RFC] IO::Clipboard
    By harryfmudd [AT] comcast [DOT] net in forum Perl / CGI
    Replies: 0
    Last Post: February 10th, 05:28 AM
  2. [ANN] win32-clipboard 0.1.0
    By Daniel Berger in forum Ruby
    Replies: 14
    Last Post: November 21st, 12:52 AM
  3. using the server clipboard
    By adam in forum ASP.NET General
    Replies: 1
    Last Post: August 7th, 07:30 AM
  4. Deleting A Clipboard
    By Andy 23 in forum Adobe Photoshop Elements
    Replies: 2
    Last Post: July 31st, 01:12 AM
  5. Clipboard
    By Michael Preston in forum Windows XP/2000/ME
    Replies: 10
    Last Post: July 21st, 06:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139