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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Printing a Control in a Grid

Thread ID:





22958 Dec 30,2004 01:12 PM UTC Dec 30,2004 03:07 PM UTC WinForms 1
Tags: GridControl
Asked On December 30, 2004 01:12 PM UTC

Is it possible or how would you suggest printing a child control of the grid. In the attached example, I have add a button control as a child of the GridControl. Pressing this button does a print preview of the grid. Any ideas on how one could include the button in the preview (and print as well). Thanks, Steve Print Control in Grid_1179.zip

Administrator [Syncfusion]
Replied On December 30, 2004 03:07 PM UTC

You would have to derive the GridPrintDocument, override OnPrintPage and draw the controls yourself. Here is your sample back with a try at this. http://www.syncfusion.com/forums/Uploads/PrintControlinGrid.zip


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

Live Chat Icon For mobile
Live Chat Icon