Printing from an page

Discussion in 'ASP .Net' started by Kay, Dec 4, 2003.

  1. Kay

    Kay Guest


    I have a web form which displays data in a datagrid, infact it is a drill
    down datagrid (i.e. a grid within a grid), the amount of data displayed is
    quite large, so the grid flows and it is necessary to scroll down to see the
    entire grid. On my page I provide a print button which calls the print()
    function when clicked. When the grid prints on A4 size paper the first page
    is perfect but for some reason the second page prints narrower than the
    first and the 3rd. page is even narrower again. Would anyone know why this

    Thanks in advance for your help,
    Kay, Dec 4, 2003
    1. Advertisements

  2. Try explicitly setting the width property of your datagrid - it is probably
    just dynamically resizing as it renders each page, and the style attributes
    that are rendered should rectify that.
    Chris Jackson, Dec 4, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.