473,403 Members | 2,183 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,403 software developers and data experts.

Datagrid Header on All Printed Pages

Jay
In an asp.net app I need to print a lengthy datagrid. How can this be done
and still have the datagrid header appear on all printed pages? I am not
using VStudio or Reportin Services.... just an asp.net app written in
notepad. Thanks a lot.
Nov 19 '05 #1
6 977
Look into the "page-break-before" and "display" css attributes.

-Alan

Nov 19 '05 #2
Jay
Thanks a lot, however, I'm not sure these apply to a datagrid. How would I
insert these tags into a datagrid?
"Alan Samet" <al*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Look into the "page-break-before" and "display" css attributes.

-Alan

Nov 19 '05 #3
I believe that some of the styles (e.g. DataGridHeaderStyle) get added
as css attributes of the table that are rendered with the datagrid.

-Alan

Nov 19 '05 #4
Jay
Thanks. I've been doing an awful lot of searching for an example, however,
cannot find one. Lots of examples of the css tags... just not integrated
with a datagrid. Any ideas where I can find an example?

"Alan Samet" <al*******@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I believe that some of the styles (e.g. DataGridHeaderStyle) get added
as css attributes of the table that are rendered with the datagrid.

-Alan

Nov 19 '05 #5
Not off the top of my head. I'd write one for you, but I'm on my way
out the door. Could a Repeater do what you need?

-Alan

Nov 19 '05 #6
Jay
Actually, a repeater could work. I'm still trying to find sample using a
datagrid, however, will also look for repeater as well. Thanks.

"Alan Samet" <al*******@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Not off the top of my head. I'd write one for you, but I'm on my way
out the door. Could a Repeater do what you need?

-Alan

Nov 19 '05 #7

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

Similar topics

4
by: Henry | last post by:
I can get the row indexes using the following codes. but problem is that when I clicked the grid column header , it still printed out the same indexes. So the dataview here reflects the row indexes...
0
by: Chris Gardner | last post by:
I have a datagrid that prints a large number of records from a SQL database. Because it is a large table, when printed the table "bleeds" from one page to the next. Ideally, I would like to have...
4
by: Jay | last post by:
Still can't seem to find a solution to printing a lengthy datagrid on multiple pages including datagrid headeron each page. I am not using Crystal Reports or Reporting Services or VStudio. Any...
3
by: Jay | last post by:
Hi, I have this problem with DataGrid printing. I have a page which contains only DataGrid. When i try to print the page, only 1st page contains the verticle and horizontal lines of the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.