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. Image for the cookie policy date
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.

Replace xml datasource in runtime in report designer

Hi! I create a rdl format wiht a xml datasource, its possible in the runtime change the data of the xml data source and replace an image in the rerport, somebody has an example? or in a report writer or report viewer?

3 Replies

NB Nithya B Syncfusion Team June 16, 2015 03:10 AM UTC

Hi Abigail,

Thanks for using Syncfusion products.

You can modify/edit the report dataset or other section of report by accessing the report definition. You have to serialize the report and modify the desired property of the report definition, modified report definition need to be saved in to stream or file, before loading the report to ReportWriter/ReportViewer.

We have prepared a sample to modify the  ReportDefinition dynamically and It can be downloaded from the following location.

http://www.syncfusion.com/downloads/support/forum/119384/ze/ReportDesignerSample2030303655


Please let us know if you have any questions.

Regards,
Nithya B


AB abigail June 16, 2015 10:50 PM UTC

thank you I finished my example to dynamic change the dataset with a custom image


NB Nithya B Syncfusion Team June 17, 2015 03:43 PM UTC

Hi Abigail

Thanks for your update.

Please let us know if you need any further assistance on this. As always, we will be happy to assist you.

Regards,
Nithya B


Loader.
Live Chat Icon For mobile
Up arrow icon