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.

Printing Grouping Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

27482 Apr 13,2005 10:42 AM Apr 18,2005 03:52 PM Windows Forms 3
loading
Tags: Grouping
Faraz Haque
Asked On April 13, 2005 10:42 AM

Not sure what I am doing wrong, but when I print my grouping grid, I get a the correct number of rows and columns, but the actual data is missing. So, I get a blank report! PrintPreview shows the data in correct format. Even hitting the print button from printpreview dialog prints out the same blank grid. This is my printing code GridPrintDocument pd = new GridPrintDocument(groupingGrid.TableControl); PrintDialog printDialog = new PrintDialog(); printDialog.Document = pd; pd.DefaultPageSettings.Landscape = true; printDialog.ShowDialog();

Administrator [Syncfusion]
Replied On April 14, 2005 03:19 PM

Hi Faraz, Does this happen with a specific printer or also with other printers? What printer do you have? When you print something from Visual Studio does that work correct (a page with formatted code ... - I am asking because we have such a problem here with a Brother printer where we are not able to print from Visual Studio, just in case that is related). Stefan

Faraz Haque
Replied On April 18, 2005 10:48 AM

Well, its weird but if I have captionarea set to true on a grouping grid, the grid doesnt print. Once i say grid.showcaption = false, it prints fine. >Hi Faraz, > >Does this happen with a specific printer or also with other printers? What printer do you have? > >When you print something from Visual Studio does that work correct (a page with formatted code ... - I am asking because we have such a problem here with a Brother printer where we are not able to print from Visual Studio, just in case that is related). > >Stefan >

Administrator [Syncfusion]
Replied On April 18, 2005 03:52 PM

Thanks for the details. I''ll look into it what might be causing this. Stefan >Well, its weird but if I have captionarea set to true on a grouping grid, the grid doesnt print. Once i say grid.showcaption = false, it prints fine. > > >>Hi Faraz, >> >>Does this happen with a specific printer or also with other printers? What printer do you have? >> >>When you print something from Visual Studio does that work correct (a page with formatted code ... - I am asking because we have such a problem here with a Brother printer where we are not able to print from Visual Studio, just in case that is related). >> >>Stefan >>

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.

;