Using nested collection into table

3 posts, 1 answers
  1. Dario Concilio
    Dario Concilio avatar
    172 posts
    Member since:
    Apr 2016

    Posted 19 Apr 2016 Link to this post

    Hi to all,

    I'm trying to use a ObjectDataSource, this one is configurated using a method that return a single object, this object has several collection (List<OtherMyObject>) as property.

    If I what show my first object (several property as string or datetime), and then show something of relatives collection into a table?

    I note that in DataExplorer dock shows my collections but I don't see its properties.

    How can I set my Table with this collection, setting relative properties?

  2. Answer
    Stef avatar
    3611 posts

    Posted 20 Apr 2016 Link to this post

    Hello Potito,

    You can add a temporary data source component to design a nested data item that will visualize the additional data. Then remove the data source component and apply a binding to the collection property field.

    For more details, please check How to Databind to Collection Properties and How to use the ReportItem.DataObject property in expressions.

    Let us know if you have any further questions.

    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 Feedback Portal and vote to affect the priority of the items
  3. Dario Concilio
    Dario Concilio avatar
    172 posts
    Member since:
    Apr 2016

    Posted 21 Apr 2016 in reply to Stef Link to this post

    Yes, thank you,

    I used a the collection property (collection in binding) into a table object, then I used ReportItem.DataObject.MyPropertyOfEntityOfNestedCollection.

    Very good!

Back to Top