Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Jay #1
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
-
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... -
ANSWER THIS TOO..
How in the F can this be happening when there are 4 USERS LOGGED IN???????????????????? SQLException while attempting to connect:... -
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... -
: 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... -
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.... -
Trevor Benedict R #2
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
-
Jay #3
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
-
Jay #4
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
-
Jay #5
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
-
Frankie #6
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
-
Jay #7
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
-
Hal #8
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



Reply With Quote

