We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

printing of grid values

Thread ID:

Created:

Updated:

Platform:

Replies:

60181 Apr 30,2007 07:58 AM UTC Apr 30,2007 05:15 PM UTC Windows Forms 1
loading
Tags: GridControl
Touqeer Ahmed Ahson
Asked On April 30, 2007 07:58 AM UTC

printing data of grid is working fine if it is on single page, but as the data in grid increases say on 5 to 7 pages then the whole data of grid is printed on single page.
which cause a bad printing result.How can i set it to automatically adjust on multiple pages as so to generate a readable print.

haneefm [Syncfusion]
Replied On April 30, 2007 05:15 PM UTC

Hi Touqeer,

You can try this code snippet to print the grid control.

GridPrintDocument pd = new GridPrintDocument(gridControl1, true); //Assumes the default printer
PrintPreviewDialog dlg = new PrintPreviewDialog() ;
dlg.Document = pd;
dlg.ShowDialog();

Here is a forum thread that prints all the columns in a single page and the rows in multiple pages.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=59396

Best regards,
Haneef

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;