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

Report designer in winfows forms

Thread ID:

Created:

Updated:

Platform:

Replies:

131657 Jul 21,2017 12:37 PM UTC Aug 7,2017 05:15 AM UTC Report Platform 3
loading
Tags: Report Designer
Fausto
Asked On July 21, 2017 12:37 PM UTC

Hi,

Can I use the reports generated by the designer in windows forms c#? By default, reports are written in rdl format; can I rename them to rdlc and use them with visual studio 2017 report viewer? Or does it only work with WPF?

Thanks in advance

Vinoth Srinivasan [Syncfusion]
Replied On July 24, 2017 12:34 PM UTC

Hi Fausto, 
 
Thanks for your interest in Syncfusion Components. 
 
Query 
Response 
Can I use the reports generated by the designer in windows forms c#? 
Yes, you can use the reports created using our report designer in windows form. Currently, our report viewer is not available in WindowsForms platform. However, you can use WPF report viewer in Windows Forms using ElementHost control. Refer to the below MSDN link for more details on Element Host control.
https://msdn.microsoft.com/en-us/library/system.windows.forms.integration.elementhost(v=vs.110).aspx 
By default, reports are written in rdl format; can I rename them to rdlc and use them with visual studio 2017 report viewer? Or does it only work with WPF? 
Yes, you can rename the rdl report as RDLC and you can view the report in report viewer. But, we need provide local class objects as datasource for the RDLC report and you can able to view this RDLC report also in windows form application. 
 
We have prepared a sample in windows form using our WPF reportviewer as host element for both RDL and RDLC report for your reference and it can be downloaded from the below location. 
 
 
Regards, 
Vinoth S. 


Fausto
Replied On August 4, 2017 12:32 PM UTC

Everything worked perfectly. Thank you very much!


Regards,

Fausto.


Vinoth Srinivasan [Syncfusion]
Replied On August 7, 2017 05:15 AM UTC

Hi Fausto, 

Thanks for your update. Please let us know if you require any further assistance on this. 

Regards, 
Vinoth S. 


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.

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

;