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

Grid Grouping Control printing

Thread ID:





21345 Nov 8,2004 01:59 PM UTC Nov 8,2004 03:38 PM UTC WinForms 1
Tags: GridControl
Gordon Rhea
Asked On November 8, 2004 01:59 PM UTC

Hi, I was trying to use the GridPrintDocument to print a grid grouping control and got an error stating " Value of type ''Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl'' cannot be converted to ''Syncfusion.Windows.Forms.Grid.GridControlBase''." Is there a way to get the Grid Grouping Control to print? Thanks, Gordon

Administrator [Syncfusion]
Replied On November 8, 2004 03:38 PM UTC

Try printing the gridGroupingControl1.TableControl. (Make sure you are using though.)
private void button1_Click(object sender, System.EventArgs e)
GridPrintDocument pd = new GridPrintDocument(this.gridGroupingControl1.TableControl, true);
PrintPreviewDialog ppv = new PrintPreviewDialog();
ppv.Document = pd;


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