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

Replace xml datasource in runtime in report designer

Thread ID:





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

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 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.


Please let us know if you have any questions.

Nithya B

Replied On June 16, 2015 10:50 PM UTC

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

Nithya B [Syncfusion]
Replied On 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.

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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