How do I stop the contents of a gridview splitting across pages when printing?

dgloveruk
dgloveruk used Ask the Experts™
on
I have a .net gridview which has cells that contain multiple lines of data.  When the gridview contains a number of rows and I go to print the gridview, where the page ends the row splits half on to the first page and half on to the next.  In this solution the print out is a faxed food order so the item that has its information split regularly gets messed up.

I am hoping either there is simple an attribute I can set or if that's not possible at least something which inserts after a set number of rows which will force a page split.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014
Commented:
You may be able to insert an empty row at the row location which gets split (13th row for example).

Author

Commented:
OK, I was hoping there was a simple attribute or strategy for making sure the rows weren't wrapped but I understand this might not be possible, thanks for the suggestion.

Author

Commented:
The solution used in practice was to put a tail message on the end of the printed pages cautioning the reader to be aware that tables can split across pages.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial