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

nested objects as data value

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 24 Jun 2009, 04:50 PM
I'm using an object as my data source.  The object has a function that returns another object.  I wish to use a function return value of that returned object as the value in a TextBox, but the report is not happy and shows an exception box pertaining to not being able to find the lower function.  For example, my TextBox value field looks something like this: =GetSubObject().GetValue( p1, p2).  The report would be  complaining "The expression contains undefined function call GetValue."
Is there any way to do this?  I'm guessing a subreport that uses the GetSubObject return value as its data source would be an option?

1 Answer, 1 is accepted

Sort by
0
Chris Gillies
Top achievements
Rank 1
answered on 26 Jun 2009, 01:50 PM
As far as I know, Telerik Reporting can be bound to a single table only, so the same may go for sub objects. Anyway possible reasons for the exception you've got are mentioned here: http://www.telerik.com/help/reporting/troubleshooting-know-reasons.html

Cheers
Tags
General Discussions
Asked by
Brad
Top achievements
Rank 1
Answers by
Chris Gillies
Top achievements
Rank 1
Share this question
or