473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Someone Has To Have An Answer ???

Jay
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.

Nov 19 '05 #1
7 1111
Here you go...

http://msdn.microsoft.com/library/de...reakbefore.asp
http://msdn.microsoft.com/library/de...breakafter.asp
http://msdn.microsoft.com/library/de...ects/thead.asp
http://msdn.microsoft.com/workshop/a...ects/tfoot.asp

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:OZ**************@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.

Nov 19 '05 #2
Jay
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" <tr********@yahoo.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Here you go...

http://msdn.microsoft.com/library/de...reakbefore.asp
http://msdn.microsoft.com/library/de...breakafter.asp
http://msdn.microsoft.com/library/de...ects/thead.asp
http://msdn.microsoft.com/workshop/a...ects/tfoot.asp

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:OZ**************@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.


Nov 19 '05 #3
Jay
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:%2******************@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" <tr********@yahoo.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Here you go...

http://msdn.microsoft.com/library/de...reakbefore.asp
http://msdn.microsoft.com/library/de...breakafter.asp
http://msdn.microsoft.com/library/de...ects/thead.asp
http://msdn.microsoft.com/workshop/a...ects/tfoot.asp

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:OZ**************@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.



Nov 19 '05 #4
Jay
I a also certainly open to using .net 2.0 if my tasks would be easier.
"Jay" <msnews.microsoft.com> wrote in message
news:%2******************@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" <tr********@yahoo.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Here you go...

http://msdn.microsoft.com/library/de...reakbefore.asp
http://msdn.microsoft.com/library/de...breakafter.asp
http://msdn.microsoft.com/library/de...ects/thead.asp
http://msdn.microsoft.com/workshop/a...ects/tfoot.asp

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:OZ**************@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.



Nov 19 '05 #5
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.
http://www.datadynamics.com/ 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:uu**************@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:%2******************@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" <tr********@yahoo.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Here you go...

http://msdn.microsoft.com/library/de...reakbefore.asp
http://msdn.microsoft.com/library/de...breakafter.asp
http://msdn.microsoft.com/library/de...ects/thead.asp
http://msdn.microsoft.com/workshop/a...ects/tfoot.asp

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:OZ**************@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.




Nov 19 '05 #6
Jay
Thanks. I should also mention that the number of rows and the height of
those rows varies...
"Frankie" <Be***********@TacoTime.net> wrote in message
news:uY****************@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.
http://www.datadynamics.com/ 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:uu**************@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:%2******************@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" <tr********@yahoo.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Here you go...

http://msdn.microsoft.com/library/de...reakbefore.asp
http://msdn.microsoft.com/library/de...breakafter.asp
http://msdn.microsoft.com/library/de...ects/thead.asp
http://msdn.microsoft.com/workshop/a...ects/tfoot.asp

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:OZ**************@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.
>
>
>



Nov 19 '05 #7
Hal
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.

Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: TimS | last post by:
I am getting a baffling File not found error (0x800A0035). I am writing asp on a windows 2000 server. I build a path and filename from several fields in a jet database using SQL commands, like...
3
by: MarcJessome | last post by:
Hi, I was wondering if someone could help me through learning C++. I've tried learning before, but I find I would work better if I had someone that could help explain a few things to me. Im using...
6
by: Helmut Giese | last post by:
Hello out there, I am a rather experienced C programmer. However, today I got a javascript assignment because someone left (something like: "You're a great programmer - you'll handle this.") and I...
0
by: Alan Silver | last post by:
Hello, I am having a problem setting and resetting cookies. I'm sure I just doing something really stupid as this is such a basic issue, but I can find any answer. Please can someone help me? ...
1
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ - How do I direct someone to this FAQ? ----------------------------------------------------------------------- This...
3
by: shapper | last post by:
Hello, I have two tables: Polls and Options: Poll PollID, Question Options OptionID, PollID, Answer I want to select a Poll given its ID and all Options associated to it. Options should...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.