Send GridView content to another page

Discussion in 'ASP .Net' started by Mic, Aug 28, 2007.

  1. Mic

    Mic Guest

    Hi,

    I have a GridView control that gets populated at runtime and I need to
    print its content. The simplest way I found was to use window.print()
    but this prints everything on the page.

    But if I can send the GridView content (or copy the GridView) to
    another page, I then can use window.print() in that other page.

    How can I do that ?

    Thanks !
    Mic, Aug 28, 2007
    #1
    1. Advertising

  2. Mark Rae [MVP], Aug 28, 2007
    #2
    1. Advertising

  3. Mic

    David C Guest

    Why not just hide your other controls (using Javascript) and then issue the
    print. Then you can show the controls again right after you issue the
    window.print

    David
    "Mic" <> wrote in message
    news:...
    > Hi,
    >
    > I have a GridView control that gets populated at runtime and I need to
    > print its content. The simplest way I found was to use window.print()
    > but this prints everything on the page.
    >
    > But if I can send the GridView content (or copy the GridView) to
    > another page, I then can use window.print() in that other page.
    >
    > How can I do that ?
    >
    > Thanks !
    >
    David C, Aug 28, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?S2V2aW4gQnVydG9u?=

    Pre-Send Request Headers, Pre-Send Request Content

    =?Utf-8?B?S2V2aW4gQnVydG9u?=, Dec 31, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,028
    =?Utf-8?B?S2V2aW4gQnVydG9u?=
    Dec 31, 2004
  2. hazz
    Replies:
    6
    Views:
    49,384
    SkyUCHC
    Jun 9, 2010
  3. Keith G Hicks
    Replies:
    3
    Views:
    746
    Keith G Hicks
    Feb 18, 2008
  4. Dave L
    Replies:
    3
    Views:
    3,168
    Göran Andersson
    Mar 4, 2010
  5. Carlos

    How send the content of a GridView into another page?

    Carlos, Jul 13, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    116
    Carlos
    Jul 13, 2006
Loading...

Share This Page