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

Print grids

Thread ID:

Created:

Updated:

Platform:

Replies:

68599 Sep 25,2007 01:18 PM UTC Sep 25,2007 06:31 PM UTC Windows Forms 1
loading
Tags: GridControl
Faltu
Asked On September 25, 2007 01:18 PM UTC

Hi,

I have a report with number of virtual grids of different columns and rows. The number of grids may vary from report to report. I want to print the report where in all the grids appear one after another.(I searched the forums and found how two grids can be printed using a 'fake merge'. But here the columns are not same and that is not helpful in this case.)

Kindly let me know how do I accomplish this. Thanks.

Regards
Kiran

Rajagopal [Syncfusion]
Replied On September 25, 2007 06:31 PM UTC

Hi Kiran,

Thanks for your interest in Syncfusion Products.

This can be achieved by deriving the GridPrintDocument and overriding its OnPrintPage method. In the override, don't call the base class. Place and draw the grids wherever you want it in the page layout. Please refer the following Knowledge Base(KB) article link that helps in printing multiple grids in a page.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=63

If you like to print multiple grids on each page, then refer the below KB article that helps in doing this. Also this helps in adding header and footer on each page.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=62

Let me know if you have any other questions.

Regards,
Rajagopal

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

;