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

How to edit a report at runtime

A report (RDL/RDLC) can be edited or modified at runtime using ReportDefinition class. The following describes the steps to edit a report at runtime and render the output.

  1. To edit existing report, it need to be de serialized to Report Definition object using XmlSerializer.


  1. The serialized report definition object contains all the properties available in report file. The properties of each XML element can accessed and updated to required values. In the below code, value of a text box report item in page header is updated with new value.


  1. The below code used to edit Tablix report item and its inner cell element value in report.


  1. The modified report definition can be converted as stream or saved into a local file using the XmlSerializer’s Deserialize method.







Article ID: Published Date: Last Revised Date: Platform: Control:
7087 08/31/2016 09/02/2016 LightSwitch HTML ReportViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to 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