This is a migrated thread and some comments may be shown as answers.

object datasource with array

1 Answer 135 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amanda
Top achievements
Rank 2
Amanda asked on 05 Aug 2010, 09:22 PM
I'm using vb.net and telerik reporting.  I have an object that I set as my report datasource.  This object has an array in it.  When I go to my report and input values in the textboxes or even in the code behind in my report, I do not know how to get the items from the array in the object onto my report.  Does anyone know how to do this?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Aug 2010, 05:25 PM
Hi Amanda,

Properties from all levels are visible, except properties that are collections. Let's have the following setup - a textbox item with the following expression =Fields.ObjA.ObjB.ObjC.

In this case if ObjB is an array, how do we know what ObjC to use for which ObjB?

Since there is no straight-forward answer, we do not allow drilling into collections. If you want to show data from the array, you should use a separate data region (i.e. Table or SubReport) to bind to it .

Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Amanda
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or