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

Master-Detail View Printing

Thread ID:





121178 Nov 17,2015 03:20 PM UTC Nov 19,2015 09:54 AM UTC WPF 3
Tags: SfDataGrid
Diego Fernando Urabayen
Asked On November 17, 2015 03:20 PM UTC

How to print an SfDataGrid Master-Detail View with DataTable binding? 

Sowndaiyan Paulpandi [Syncfusion]
Replied On November 18, 2015 07:02 PM UTC

Hi Diego,

Thank you for contacting Syncfusion Support.

We have analyzed your query and we do not have the direct support to print the SfDataGrid with DetailsViewGrid using SfDataGrid.Print method. But you can achieve this by exporting SfDataGrid into Pdf and then Printing the SfDataGrid from PdfViewerControl. We have prepared a sample for achieve your requirement and you can download the sample from the following location


Please let us know if you require further assistance on this.


Diego Fernando Urabayen
Replied On November 18, 2015 09:10 PM UTC

Hi Sowndaiyan,

I executed your solution, but the pdf report generated not contains a dataGrid Detail. I attach a sample.


Attachment: Captura_de_pantalla_20151118_a_las_6.06.29_p.m._b06b711b.zip

Sowndaiyan Paulpandi [Syncfusion]
Replied On November 19, 2015 09:54 AM UTC

Hi Diego,

Sorry for the inconvenience caused.

We have modified the sample as per your requirement 
and you can download the sample from the following location

Sample: http://www.syncfusion.com/downloads/support/forum/121178/ze/MasterDetailsView-Printing484039966

In this sample we have loaded the our SfDataGrid into the PDFViewer and printed the DataGrid.




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