Someone Has To Have An Answer ???

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Someone Has To Have An Answer ???

    I have posted this same question several times, however, no one seems to
    have any idea how to accomplish this task.

    I have a fairly long datagrid that spans several pages when printed.
    Problem is, when printed, the last row of each page tends to get cut off.
    Ideally what I would like is to print the datagrid on multiple pages while
    persisting the datagrid header on each page and without cutting off the end
    row(s).

    I do not have VStudio, Reporting Services or Crystal Reports. Any ideas how
    this can be accomplished? Links, samples? This seems to be a problem that
    absolutely no one has a solution to (or that can point me to anyway). I'd
    certainly appreciate any help at all.

    Thanks a lot.



    Jay Guest

  2. Similar Questions and Discussions

    1. Does anyone have an answer??
      Please Help!! I've been Using Dreamweaver MX for awhile, but I'm still just doing the tip of the iceberg kinda stuff. I can't seem to figure out...
    2. ANSWER THIS TOO..
      How in the F can this be happening when there are 4 USERS LOGGED IN???????????????????? SQLException while attempting to connect:...
    3. Please answer <<<<<<<<<<<<<<<<<<
      Nobody answered my previous post from last night. I would really like to get this solved. Is is puzzling. I want to change the layout of...
    4. : Hi , here is your answer
      Question: Will your secrets on *how to get 1 MILLION free visitors* bring traffic to MY type of website? So many people have been asking us this...
    5. Best answer yet...
      -----BEGIN PGP SIGNED MESSAGE----- _ I was poking around and came across this in the REXX FAQ. Is REXX better than ? Short answer: Yes. No....
  3. #2

    Default Re: Someone Has To Have An Answer ???

    Here you go...

    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakbefore.asp[/url]
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakafter.asp[/url]
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/thead.asp[/url]
    [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/tfoot.asp[/url]

    Let us know if you are not able to put this together.

    HTH

    Trevor Benedict R
    MCSD


    "Jay" <msnews.microsoft.com> wrote in message
    news:OZgS4zdzFHA.1168@TK2MSFTNGP15.phx.gbl...
    >I have posted this same question several times, however, no one seems to
    >have any idea how to accomplish this task.
    >
    > I have a fairly long datagrid that spans several pages when printed.
    > Problem is, when printed, the last row of each page tends to get cut off.
    > Ideally what I would like is to print the datagrid on multiple pages while
    > persisting the datagrid header on each page and without cutting off the
    > end row(s).
    >
    > I do not have VStudio, Reporting Services or Crystal Reports. Any ideas
    > how this can be accomplished? Links, samples? This seems to be a problem
    > that absolutely no one has a solution to (or that can point me to anyway).
    > I'd certainly appreciate any help at all.
    >
    > Thanks a lot.
    >
    >
    >

    Trevor Benedict R Guest

  4. #3

    Default Re: Someone Has To Have An Answer ???

    Thank you very much. I just can't seem to use these tags, etc. within a
    datagrid. Would you please happen to have an example of this functionality
    within an asp.net datagrid?

    Thanks a lot.




    "Trevor Benedict R" <trevornews@yahoo.com> wrote in message
    news:%23XRaGefzFHA.664@tk2msftngp13.phx.gbl...
    > Here you go...
    >
    > [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakbefore.asp[/url]
    > [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakafter.asp[/url]
    > [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/thead.asp[/url]
    > [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/tfoot.asp[/url]
    >
    > Let us know if you are not able to put this together.
    >
    > HTH
    >
    > Trevor Benedict R
    > MCSD
    >
    >
    > "Jay" <msnews.microsoft.com> wrote in message
    > news:OZgS4zdzFHA.1168@TK2MSFTNGP15.phx.gbl...
    >>I have posted this same question several times, however, no one seems to
    >>have any idea how to accomplish this task.
    >>
    >> I have a fairly long datagrid that spans several pages when printed.
    >> Problem is, when printed, the last row of each page tends to get cut off.
    >> Ideally what I would like is to print the datagrid on multiple pages
    >> while persisting the datagrid header on each page and without cutting off
    >> the end row(s).
    >>
    >> I do not have VStudio, Reporting Services or Crystal Reports. Any ideas
    >> how this can be accomplished? Links, samples? This seems to be a
    >> problem that absolutely no one has a solution to (or that can point me to
    >> anyway). I'd certainly appreciate any help at all.
    >>
    >> Thanks a lot.
    >>
    >>
    >>
    >
    >

    Jay Guest

  5. #4

    Default Re: Someone Has To Have An Answer ???

    For that matter. I can always adjust my application top use a repeater or
    datalist, etc. as long as I can prevent the last row from being cut and
    have the header on every printed page.


    "Jay" <msnews.microsoft.com> wrote in message
    news:%237JIH%23hzFHA.3856@tk2msftngp13.phx.gbl...
    > Thank you very much. I just can't seem to use these tags, etc. within a
    > datagrid. Would you please happen to have an example of this
    > functionality within an asp.net datagrid?
    >
    > Thanks a lot.
    >
    >
    >
    >
    > "Trevor Benedict R" <trevornews@yahoo.com> wrote in message
    > news:%23XRaGefzFHA.664@tk2msftngp13.phx.gbl...
    >> Here you go...
    >>
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakbefore.asp[/url]
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakafter.asp[/url]
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/thead.asp[/url]
    >> [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/tfoot.asp[/url]
    >>
    >> Let us know if you are not able to put this together.
    >>
    >> HTH
    >>
    >> Trevor Benedict R
    >> MCSD
    >>
    >>
    >> "Jay" <msnews.microsoft.com> wrote in message
    >> news:OZgS4zdzFHA.1168@TK2MSFTNGP15.phx.gbl...
    >>>I have posted this same question several times, however, no one seems to
    >>>have any idea how to accomplish this task.
    >>>
    >>> I have a fairly long datagrid that spans several pages when printed.
    >>> Problem is, when printed, the last row of each page tends to get cut
    >>> off. Ideally what I would like is to print the datagrid on multiple
    >>> pages while persisting the datagrid header on each page and without
    >>> cutting off the end row(s).
    >>>
    >>> I do not have VStudio, Reporting Services or Crystal Reports. Any ideas
    >>> how this can be accomplished? Links, samples? This seems to be a
    >>> problem that absolutely no one has a solution to (or that can point me
    >>> to anyway). I'd certainly appreciate any help at all.
    >>>
    >>> Thanks a lot.
    >>>
    >>>
    >>>
    >>
    >>
    >
    >

    Jay Guest

  6. #5

    Default Re: Someone Has To Have An Answer ???

    I a also certainly open to using .net 2.0 if my tasks would be easier.


    "Jay" <msnews.microsoft.com> wrote in message
    news:%237JIH%23hzFHA.3856@tk2msftngp13.phx.gbl...
    > Thank you very much. I just can't seem to use these tags, etc. within a
    > datagrid. Would you please happen to have an example of this
    > functionality within an asp.net datagrid?
    >
    > Thanks a lot.
    >
    >
    >
    >
    > "Trevor Benedict R" <trevornews@yahoo.com> wrote in message
    > news:%23XRaGefzFHA.664@tk2msftngp13.phx.gbl...
    >> Here you go...
    >>
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakbefore.asp[/url]
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakafter.asp[/url]
    >> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/thead.asp[/url]
    >> [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/tfoot.asp[/url]
    >>
    >> Let us know if you are not able to put this together.
    >>
    >> HTH
    >>
    >> Trevor Benedict R
    >> MCSD
    >>
    >>
    >> "Jay" <msnews.microsoft.com> wrote in message
    >> news:OZgS4zdzFHA.1168@TK2MSFTNGP15.phx.gbl...
    >>>I have posted this same question several times, however, no one seems to
    >>>have any idea how to accomplish this task.
    >>>
    >>> I have a fairly long datagrid that spans several pages when printed.
    >>> Problem is, when printed, the last row of each page tends to get cut
    >>> off. Ideally what I would like is to print the datagrid on multiple
    >>> pages while persisting the datagrid header on each page and without
    >>> cutting off the end row(s).
    >>>
    >>> I do not have VStudio, Reporting Services or Crystal Reports. Any ideas
    >>> how this can be accomplished? Links, samples? This seems to be a
    >>> problem that absolutely no one has a solution to (or that can point me
    >>> to anyway). I'd certainly appreciate any help at all.
    >>>
    >>> Thanks a lot.
    >>>
    >>>
    >>>
    >>
    >>
    >
    >

    Jay Guest

  7. #6

    Default Re: Someone Has To Have An Answer ???

    Well, if you're willing to go to alternative controls or even 2.0, then
    perhaps you'd consider a full-blown report writer. That works along with
    your grid. I can't tell you if it will meet all of your needs, but it's
    certainly another way to print info from your Web app.
    [url]http://www.datadynamics.com/[/url] has ActiveReports. You might want to check out
    it's Professional Edition features. Exports to PDF or HTML.

    -HTH


    "Jay" <msnews.microsoft.com> wrote in message
    news:uu0Z2DizFHA.3856@tk2msftngp13.phx.gbl...
    >I a also certainly open to using .net 2.0 if my tasks would be easier.
    >
    >
    > "Jay" <msnews.microsoft.com> wrote in message
    > news:%237JIH%23hzFHA.3856@tk2msftngp13.phx.gbl...
    >> Thank you very much. I just can't seem to use these tags, etc. within a
    >> datagrid. Would you please happen to have an example of this
    >> functionality within an asp.net datagrid?
    >>
    >> Thanks a lot.
    >>
    >>
    >>
    >>
    >> "Trevor Benedict R" <trevornews@yahoo.com> wrote in message
    >> news:%23XRaGefzFHA.664@tk2msftngp13.phx.gbl...
    >>> Here you go...
    >>>
    >>> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakbefore.asp[/url]
    >>> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakafter.asp[/url]
    >>> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/thead.asp[/url]
    >>> [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/tfoot.asp[/url]
    >>>
    >>> Let us know if you are not able to put this together.
    >>>
    >>> HTH
    >>>
    >>> Trevor Benedict R
    >>> MCSD
    >>>
    >>>
    >>> "Jay" <msnews.microsoft.com> wrote in message
    >>> news:OZgS4zdzFHA.1168@TK2MSFTNGP15.phx.gbl...
    >>>>I have posted this same question several times, however, no one seems to
    >>>>have any idea how to accomplish this task.
    >>>>
    >>>> I have a fairly long datagrid that spans several pages when printed.
    >>>> Problem is, when printed, the last row of each page tends to get cut
    >>>> off. Ideally what I would like is to print the datagrid on multiple
    >>>> pages while persisting the datagrid header on each page and without
    >>>> cutting off the end row(s).
    >>>>
    >>>> I do not have VStudio, Reporting Services or Crystal Reports. Any
    >>>> ideas how this can be accomplished? Links, samples? This seems to be
    >>>> a problem that absolutely no one has a solution to (or that can point
    >>>> me to anyway). I'd certainly appreciate any help at all.
    >>>>
    >>>> Thanks a lot.
    >>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

    Frankie Guest

  8. #7

    Default Re: Someone Has To Have An Answer ???

    Thanks. I should also mention that the number of rows and the height of
    those rows varies...


    "Frankie" <BeansAndTacos@TacoTime.net> wrote in message
    news:uYHlc%23izFHA.2312@TK2MSFTNGP14.phx.gbl...
    > Well, if you're willing to go to alternative controls or even 2.0, then
    > perhaps you'd consider a full-blown report writer. That works along with
    > your grid. I can't tell you if it will meet all of your needs, but it's
    > certainly another way to print info from your Web app.
    > [url]http://www.datadynamics.com/[/url] has ActiveReports. You might want to check
    > out it's Professional Edition features. Exports to PDF or HTML.
    >
    > -HTH
    >
    >
    > "Jay" <msnews.microsoft.com> wrote in message
    > news:uu0Z2DizFHA.3856@tk2msftngp13.phx.gbl...
    >>I a also certainly open to using .net 2.0 if my tasks would be easier.
    >>
    >>
    >> "Jay" <msnews.microsoft.com> wrote in message
    >> news:%237JIH%23hzFHA.3856@tk2msftngp13.phx.gbl...
    >>> Thank you very much. I just can't seem to use these tags, etc. within a
    >>> datagrid. Would you please happen to have an example of this
    >>> functionality within an asp.net datagrid?
    >>>
    >>> Thanks a lot.
    >>>
    >>>
    >>>
    >>>
    >>> "Trevor Benedict R" <trevornews@yahoo.com> wrote in message
    >>> news:%23XRaGefzFHA.664@tk2msftngp13.phx.gbl...
    >>>> Here you go...
    >>>>
    >>>> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakbefore.asp[/url]
    >>>> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/pagebreakafter.asp[/url]
    >>>> [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/thead.asp[/url]
    >>>> [url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/tfoot.asp[/url]
    >>>>
    >>>> Let us know if you are not able to put this together.
    >>>>
    >>>> HTH
    >>>>
    >>>> Trevor Benedict R
    >>>> MCSD
    >>>>
    >>>>
    >>>> "Jay" <msnews.microsoft.com> wrote in message
    >>>> news:OZgS4zdzFHA.1168@TK2MSFTNGP15.phx.gbl...
    >>>>>I have posted this same question several times, however, no one seems
    >>>>>to have any idea how to accomplish this task.
    >>>>>
    >>>>> I have a fairly long datagrid that spans several pages when printed.
    >>>>> Problem is, when printed, the last row of each page tends to get cut
    >>>>> off. Ideally what I would like is to print the datagrid on multiple
    >>>>> pages while persisting the datagrid header on each page and without
    >>>>> cutting off the end row(s).
    >>>>>
    >>>>> I do not have VStudio, Reporting Services or Crystal Reports. Any
    >>>>> ideas how this can be accomplished? Links, samples? This seems to be
    >>>>> a problem that absolutely no one has a solution to (or that can point
    >>>>> me to anyway). I'd certainly appreciate any help at all.
    >>>>>
    >>>>> Thanks a lot.
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

    Jay Guest

  9. #8

    Default Re: Someone Has To Have An Answer ???

    You are going to need to make a printable version of your page. Use the
    tag links send by the guy at MSFT and CSS to provide formatting.

    The datagrid is an atomic control, and has no concept of "pages" beyond
    it's own. Despite your best efforts I think it would be neigh
    impossible to get it to behave in the fashion that you would like.

    Use multiple datagrids, with a limit of records on each page. On each
    "page" bind a datagrid with the proper number of rows, add a br tag
    with a page break style added to it at the end. Your HTML page will
    look like one long page, but print preview will tell a different story.

    Hal 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