By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,483 Members | 1,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,483 IT Pros & Developers. It's quick & easy.

Datagrid Spans Multiple Pages - Need to Print

P: n/a
Jay
In an ASP.NET page I have a fairly lengthy datagrid that I need to print.
Problem is that when I print sometimes the last row on that page gets cut
half way through. Is there a way to print a datagrid that spans multiple
pages? Ideally I'd also like to maintain the header on each page, but would
settle with just the content not getting cut. The datagrid can range in
size (dynamic). Any examples of doing this?

Thanks a lot.
Nov 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi Jay,

Data Reports, such as Crystal Reports, provide these kinds of features.

HTH

"Jay" <msnews.microsoft.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
In an ASP.NET page I have a fairly lengthy datagrid that I need to print.
Problem is that when I print sometimes the last row on that page gets cut
half way through. Is there a way to print a datagrid that spans multiple
pages? Ideally I'd also like to maintain the header on each page, but
would settle with just the content not getting cut. The datagrid can
range in size (dynamic). Any examples of doing this?

Thanks a lot.

Nov 19 '05 #2

P: n/a
Jay
Thanks. Any idea where I might find an example using Crystal Repots?
"Elton Wang" <el********@hotmail.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Hi Jay,

Data Reports, such as Crystal Reports, provide these kinds of features.

HTH

"Jay" <msnews.microsoft.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
In an ASP.NET page I have a fairly lengthy datagrid that I need to print.
Problem is that when I print sometimes the last row on that page gets cut
half way through. Is there a way to print a datagrid that spans multiple
pages? Ideally I'd also like to maintain the header on each page, but
would settle with just the content not getting cut. The datagrid can
range in size (dynamic). Any examples of doing this?

Thanks a lot.


Nov 19 '05 #3

P: n/a
Another option would be to export to MS EXCEL format

Nov 19 '05 #4

P: n/a
Take look at following URL:
http://www.c-sharpcorner.com/Code/20...troduction.asp

You can also google the topic.

HTH
"Jay" <msnews.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Thanks. Any idea where I might find an example using Crystal Repots?
"Elton Wang" <el********@hotmail.com> wrote in message
news:eM**************@TK2MSFTNGP09.phx.gbl...
Hi Jay,

Data Reports, such as Crystal Reports, provide these kinds of features.

HTH

"Jay" <msnews.microsoft.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
In an ASP.NET page I have a fairly lengthy datagrid that I need to print. Problem is that when I print sometimes the last row on that page gets cut half way through. Is there a way to print a datagrid that spans multiple pages? Ideally I'd also like to maintain the header on each page, but
would settle with just the content not getting cut. The datagrid can
range in size (dynamic). Any examples of doing this?

Thanks a lot.



Nov 19 '05 #5

P: n/a
Jay,
Sorry I didn't see your post sooner. I have written a PrintGrid component.
It will produce a Crystal report of any web datagrid along with headings.
You simply pass the grid to my printgrid function and it produces a .PDF on
the client where they can do whatever they want with it. I have an example
of it on my website.

Gary Blakely
DeanBlakely & Assoc.
www.deanblakely.com

"Jay" <msnews.microsoft.com> wrote in message
news:Od**************@TK2MSFTNGP12.phx.gbl...
In an ASP.NET page I have a fairly lengthy datagrid that I need to print.
Problem is that when I print sometimes the last row on that page gets cut
half way through. Is there a way to print a datagrid that spans multiple
pages? Ideally I'd also like to maintain the header on each page, but
would settle with just the content not getting cut. The datagrid can
range in size (dynamic). Any examples of doing this?

Thanks a lot.

Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.