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.

Adding row while printing

Thread ID:

Created:

Updated:

Platform:

Replies:

62958 Jun 26,2007 08:23 AM Jun 26,2007 11:00 AM Windows Forms 1
loading
Tags: GridControl
Raghav
Asked On June 26, 2007 08:23 AM

Hi,

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.

Thanks
Raghavendra

haneefm [Syncfusion]
Replied On June 26, 2007 11:00 AM

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.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=63

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.

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.

;