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

Set DataSource of Table with ObjectDataSource not effect

2 Answers 9 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dario Concilio
Top achievements
Rank 2
Dario Concilio asked on 25 Jan 2017, 09:39 AM

Hi to all,

I have a report that has a single ObjectDataSource called CustomerObjectDataSource, this object gives an object of type CustomerReportModel, this one has 2 object CustomerModel and CompanyInformationModel (last one for header title information).

Now CustomerModel has a property that gives List<ConditionModel> that has Date and Description properties.

My report shows CustomerModel properties by "Fields.Propxxxx", I added a Table that I connected through binding DataSource of table using "Fields.Customer.ConditionsList", (I tested that a runtime, ConditionList is valued).

I setted table cells with format "ReportItem.DataObject.RawData.PropOfMyCollection" where PropOfMyCollection is VariationDate and Description.

When I try to render my report table not appears.

Where I wrong?

2 Answers, 1 is accepted

Sort by
0
Dario Concilio
Top achievements
Rank 2
answered on 25 Jan 2017, 10:07 AM

Oh my little man!

Table items were a lot of records, and report shows all table to second page.....

I'm sorry for this post.....

0
Accepted
Stef
Telerik team
answered on 25 Jan 2017, 03:08 PM
Hello Dario,

Thank you for this update.
You can set the Table item and container section's KeepTogether property to false to avoid the splitting of content - Paging and Keep Together.


For anyone interested, the discussed data binding approaches are elaborated in:

Regards,
Stef
Telerik by Progress
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
Tags
General Discussions
Asked by
Dario Concilio
Top achievements
Rank 2
Answers by
Dario Concilio
Top achievements
Rank 2
Stef
Telerik team
Share this question
or