TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Lynn Emery
NA
47
56.5k
Printing a GridView header on each page print out.
Feb 28 2013 3:43 AM
Hi I am trying to print out a grid view, however the grid view has many rows and runs over multiple pages when printed. This looks unprofessional, therefore I want to add a page break to the page and add a gridview header to each printed page.
I understand that I have to apply a style to the Thread and TR elements and then add the style to the grid view, however I am unsure how to achieve this.
So far I have created a seperate style sheet which is referenced when the print button is pressed. In it I have the following code:
th {
font-family
:
Arial
;
color
:
black
;
}
thead {
display
:
table-header-group
;
}
tbody {
display
:
table-row-group
;
I am unsure how I apply the Th, Tbody and Thread to the grid view.
Thank you for your help in advance.
Reply
Answers (
0
)
asp.net Tree view control
how i upload single image in asp.net