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

Complex object with multi-level-nesting as datasoure for Report

Thread ID:

Created:

Updated:

Platform:

Replies:

129495 Mar 22,2017 07:44 AM UTC Mar 23,2017 12:20 PM UTC WPF 1
loading
Tags: ReportViewer
Wojciech Gomola
Asked On March 22, 2017 07:44 AM UTC

Is it possible to prepare report that bases on object that contains multi-level-nesting.

As a example I propose real-estate insurance policy that contains some data-fields (number, effective period etc.) and collection of insured buildings. Every building contains also some data-fields (address, description, is it easy-flamable, how many floods have occurred in its area etc.) and it contains list of risks. Every risk is a simple data-object that contains code, name, sum insured value etc.


Vinoth Srinivasan [Syncfusion]
Replied On March 23, 2017 12:20 PM UTC

Hi Wojciech, 
 
Thanks for contacting Syncfusion Support. 
 
It is possible to use nested object fields in our report viewer by using expressions (=Fields.NestedObjectPropertyName.PropertyName). 
 
We have prepared a simple sample using nested object datasource and it can be downloaded from the following location. 
 
 
Note: We could not find the nested fields details in designer. It can be used only by the nested object fields in expression. 
 
Regards, 
Vinoth S. 


CONFIRMATION

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.

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

;