Data Grid Printing

Discussion in 'ASP .Net Web Controls' started by gurvar, Oct 31, 2006.

  1. gurvar

    gurvar Guest

    Hi,
    When I print a data grid, only the first page shows the grids and not the
    succeeding pages. If there 3 pages, only Page 1 shows the grid lines for the
    data displayed. The rest of pages don't show grids to the displayed data.
    Any feed back will be very much appreciated.
    Thanks
     
    gurvar, Oct 31, 2006
    #1
    1. Advertisements

  2. gurvar

    senfo Guest

    gurvar wrote:
    > Hi,
    > When I print a data grid, only the first page shows the grids and not the
    > succeeding pages. If there 3 pages, only Page 1 shows the grid lines for the
    > data displayed. The rest of pages don't show grids to the displayed data.
    > Any feed back will be very much appreciated.
    > Thanks


    Are you talking about an ASP.NET page or a Windows application? If
    you're talking about an ASP.NET page, it's perfectly normal because the
    browser knows nothing about the other pages. The pages are generated on
    the server and then passed to the browser as HTML to be rendered. As a
    result, only one DataGrid page can be printed at a time. If you desire
    the ability to print all pages, you're going to have to display all of
    data in one page. One idea might be to have a print button that opens a
    new window and shows all of the content.

    If you're talking about a Windows application, I'd need to see your code
    before I could let you know why.

    Hope that helps,

    --
    Sean
     
    senfo, Nov 5, 2006
    #2
    1. Advertisements

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. AD
    Replies:
    1
    Views:
    1,163
    Francis Shanahan
    Aug 23, 2003
  2. krian
    Replies:
    1
    Views:
    599
    Mike Moore [MSFT]
    Nov 12, 2003
  3. josephrthomas
    Replies:
    1
    Views:
    2,875
  4. Dave

    No data in data grid

    Dave, Dec 24, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    392
    Cowboy \(Gregory A. Beamer\)
    Dec 24, 2003
  5. C Newby
    Replies:
    7
    Views:
    778
    C Newby
    Apr 2, 2004
  6. Brian Henry

    boarders on data grid only on data items

    Brian Henry, Jul 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    486
    Brian Henry
    Jul 8, 2004
  7. =?Utf-8?B?UGF1bA==?=

    move data from grid to data set ?

    =?Utf-8?B?UGF1bA==?=, Oct 13, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    355
    Girish Bharadwaj
    Oct 13, 2004
  8. =?Utf-8?B?cG11ZA==?=
    Replies:
    2
    Views:
    1,153
    =?Utf-8?B?cG11ZA==?=
    Jan 10, 2005
Loading...