Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion� and appreciate your understanding.

Does the SfReportViewer control support custom code in Reports?

I am trying to run reports containing custom code, but the code seems not to execute. I have tried simple functions that just return a string, which I then include in an expression within the report, but nothing is printed.

For example, if I create the following function in custom code:

Public Function InitValues() as String
 Return "Init"
End Function

I then include the following as the expression for a textbox: 

="Hello world " & code.InitValues()

All that is output is "Hello World"

2 Replies

MM Mageshyadav M Syncfusion Team October 5, 2018 11:12 AM UTC

Hi David, 
 
We have published a Knowledge Base article for using custom code in UWP reportviewer. Please find the below KB link for more details. 
 
 
Regards, 
Mageshyadav.M 



DM David Martindale October 5, 2018 12:22 PM UTC

Thanks, that helps

Loader.
Up arrow icon