Repeating asp.net grid headers

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Repeating asp.net grid headers

    Hi,

    I have an asp.net app that users would like to print out
    on paper, but the items in the grid are sometimes more
    than the height of the paper so the grid is divided onto
    several pages.

    I can demand my users to use IE4+.

    Is there some way to repeat the grid headers on top of
    every page written to paper?

    TIA

    /Kenneth
    Kenneth Guest

  2. Similar Questions and Discussions

    1. trying to create data grid on the fly, with templated columns, and then updating all rows in the grid
      Hi, Please help, I'm trying to create data grid on the fly, with templated columns, for editing, and then updating all rows in the grid on one...
    2. CFDocument and repeating table headers
      I'm trying to output a multi-page report (essentially a large table) across multiple pages in PDF format. I know that the <cfdocumentitem> tag...
    3. How to edit records in a grid that's within a grid
      I am having a heck of a time getting a child grid (a grid within a grid) to go into edit mode. My code is below; it will go into edit mode only...
    4. Repeating SOund
      is there an actionscript command to use.. that will repeat the same sound over and over again through out the movie?? thanx Ganesh
    5. Repeating Column Headers In A Data List
      I have a DataList control which I configured to display in multiple bands (column). I am wondering if it is possible to have the column headers...
  3. #2

    Default Re: Repeating asp.net grid headers

    Kenneth,

    I think you'd have to "manually" do this. You could create a "Print" page.
    On that page you could dynamically create datagrids and add them to the
    page. Each datgrid would be configured to the proper size so that the whole
    datagrid prints on a single page. Then you could use the each datagrid's
    built in paging to set the first datagrid to display page 1 of the data, the
    second to display page 2, etc.

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche


    "Kenneth" <kenneth.philp@chello.se> wrote in message
    news:044e01c35f5a$ee10f550$a601280a@phx.gbl...
    > Hi,
    >
    > I have an asp.net app that users would like to print out
    > on paper, but the items in the grid are sometimes more
    > than the height of the paper so the grid is divided onto
    > several pages.
    >
    > I can demand my users to use IE4+.
    >
    > Is there some way to repeat the grid headers on top of
    > every page written to paper?
    >
    > TIA
    >
    > /Kenneth

    S. Justin Gengo Guest

  4. #3

    Default Re: Repeating asp.net grid headers

    Hmmm...

    If I created a "Print" page and dynamically created
    pageable DataGrids then between every datagrid I should
    need to have a paper feed.

    How could I program a paper feed (wish some code) in a
    dynamically created document?

    /Kenneth
    >-----Original Message-----
    >Kenneth,
    >
    >I think you'd have to "manually" do this. You could
    create a "Print" page.
    >On that page you could dynamically create datagrids and
    add them to the
    >page. Each datgrid would be configured to the proper size
    so that the whole
    >datagrid prints on a single page. Then you could use the
    each datagrid's
    >built in paging to set the first datagrid to display page
    1 of the data, the
    >second to display page 2, etc.
    >
    >Sincerely,
    >
    >--
    >S. Justin Gengo, MCP
    >Web Developer
    >
    >Free code library at:
    >[url]www.aboutfortunate.com[/url]
    >
    >"Out of chaos comes order."
    > Nietzche
    >
    >
    >"Kenneth" <kenneth.philp@chello.se> wrote in message
    >news:044e01c35f5a$ee10f550$a601280a@phx.gbl...
    >> Hi,
    >>
    >> I have an asp.net app that users would like to print out
    >> on paper, but the items in the grid are sometimes more
    >> than the height of the paper so the grid is divided onto
    >> several pages.
    >>
    >> I can demand my users to use IE4+.
    >>
    >> Is there some way to repeat the grid headers on top of
    >> every page written to paper?
    >>
    >> TIA
    >>
    >> /Kenneth
    >
    >
    >.
    >
    Kenneth Guest

  5. #4

    Default Re: Repeating asp.net grid headers

    May use CSS

    IE4 and up any block level element should do the trick as a style defintion.

    BlockLevelElementSelector1 { page-break-before: auto | always | left |
    right }
    BlockLevelElementSelector2 { page-break-after: auto | always | left |
    ight }

    <STYLE TYPE="text/css"><!--
    ..ChapHdr { display:block;page-break-before: always }

    --></STYLE>
    <H1 CLASS=chapter>Episode I - The Red Pimper...</H1>
    .....
    <H1 CLASS=chapter>Episode II- The Scarlet Mena.....</H1>
    etc..

    yes there is
    page-break-after:always

    As well, possible values are
    auto | always | left | right


    "Kenneth" <kenneth.philp@chello.se> wrote in message
    news:039401c36040$a67254f0$a301280a@phx.gbl...
    > Hmmm...
    >
    > If I created a "Print" page and dynamically created
    > pageable DataGrids then between every datagrid I should
    > need to have a paper feed.
    >
    > How could I program a paper feed (wish some code) in a
    > dynamically created document?
    >
    > /Kenneth
    >
    > >-----Original Message-----
    > >Kenneth,
    > >
    > >I think you'd have to "manually" do this. You could
    > create a "Print" page.
    > >On that page you could dynamically create datagrids and
    > add them to the
    > >page. Each datgrid would be configured to the proper size
    > so that the whole
    > >datagrid prints on a single page. Then you could use the
    > each datagrid's
    > >built in paging to set the first datagrid to display page
    > 1 of the data, the
    > >second to display page 2, etc.
    > >
    > >Sincerely,
    > >
    > >--
    > >S. Justin Gengo, MCP
    > >Web Developer
    > >
    > >Free code library at:
    > >[url]www.aboutfortunate.com[/url]
    > >
    > >"Out of chaos comes order."
    > > Nietzche
    > >
    > >
    > >"Kenneth" <kenneth.philp@chello.se> wrote in message
    > >news:044e01c35f5a$ee10f550$a601280a@phx.gbl...
    > >> Hi,
    > >>
    > >> I have an asp.net app that users would like to print out
    > >> on paper, but the items in the grid are sometimes more
    > >> than the height of the paper so the grid is divided onto
    > >> several pages.
    > >>
    > >> I can demand my users to use IE4+.
    > >>
    > >> Is there some way to repeat the grid headers on top of
    > >> every page written to paper?
    > >>
    > >> TIA
    > >>
    > >> /Kenneth
    > >
    > >
    > >.
    > >

    MS News \(MS ILM\) Guest

Posting Permissions

  • You may not post new threads
  • You may 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