Printing multiple gridcontrols on 1 page problem

I have two gridcontrols that I want to print on 1 or more pages.

For this I use the MyGridPrintDocument class provided on this site where the OnPrintPage() Method is overriden.

It works fine if both grids fit on 1 page.
The Method does not create more pages wenn needed.

The grids I'm using contain a lot of data and should be printed over multiple pages.

Is this possible ?


1 Reply

AD Administrator Syncfusion Team August 4, 2008 06:34 PM UTC

GridControl doesn't have built-in support for this. But you could have a custom PrintDocument and override OnPrintPage to handle things. Here is a sample that prints multiple grids across pages:

PrintMultipleGrids_CS.zip


Best regards,
Jay


Loader.
Up arrow icon