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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding row while printing

Thread ID:





62958 Jun 26,2007 12:23 PM UTC Jun 26,2007 03:00 PM UTC WinForms 1
Tags: GridControl
Asked On June 26, 2007 12:23 PM UTC


When I click printpreview i need to add a new row to the GridDataBoundGrid at the last.I will delete that row when i close the printpreview window. It is printing correctly when i click printpreview. But when i click on the grid on any column for sorting and now when i click printpreview the added row is printing at the top but it should print at the bottom.

Please tell me if u have any solution for this.


haneefm [Syncfusion]
Replied On June 26, 2007 03:00 PM UTC

Hi Raghavendra,

This can be acheived by deriving the GridPrintDocument and overriding OnPrintPage Method.Here is a sample that show this.

Sample : printtwogridsonsamepage.zip

Below is a KB that implements some customized printing in a grid. Please refer this and let me know if this helps.

Best regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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