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.
Unfortunately, activation email could not send to your email. Please try again.

Replace xml datasource in runtime in report designer

Thread ID:





119384 Jun 12,2015 07:00 PM Jun 17,2015 11:43 AM WPF 3
Tags: ReportDesigner
Asked On June 12, 2015 07:00 PM

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?

Nithya B [Syncfusion]
Replied On June 15, 2015 11:10 PM

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.


Please let us know if you have any questions.

Nithya B

Replied On June 16, 2015 06:50 PM

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

Nithya B [Syncfusion]
Replied On June 17, 2015 11:43 AM

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.

Nithya B


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.

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.