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

How to print multiple SfDataGrids in a single document?

Platform: WPF |
Control: SfDataGrid |
Published Date: May 4, 2016 |
Last Revised Date: May 30, 2016
Tags: printing

In SfDataGrid, there is no direct support to print multiple SfDataGrid in single document. But you can achieve this by using Syncfuion ReportViewer control which will print multiple SfDataGrid in a single document. You have to create a RDLC file with DataSet and also you need to set DataSources for ReportViewer from SfDataGrid.ItemsSource property like below code example.

For more details about creating RDLC file, please click here.

XAML

 

C#

 

In UWP, you have to use ReportViewer in a separate page and you have to navigate to the corresponding page through button click. Please refer the below code example to create the separate page with ReportViewer.

XAML

 

C#

 

Sample link

WPF

UWP

Screenshot

C:\Users\gnanasownthari.thiru\Desktop\Capture.PNG

 

 

 

 

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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