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

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