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

object data binding in report

2 Answers 275 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 11 Nov 2007, 09:21 PM
Hello,

I have problems with binding object to the report.

I have an Order class and OrderLine class. one order can contains multiple orderLines. So in my Order class, I have a List<OrderLine> property.

Now I create a List<Order> object and I want to bind my List<Order> to my report. And I add a group to the report. I want to bind the Order's properties like OrderID, orderDate,..., to the Group header section, and display the OrderLine list's properties to the details.

The problems is it can display the properties defined in Order, but it can't display the properties in OrderLine object in the detail section.

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Milen | Product Manager @DX
Telerik team
answered on 12 Nov 2007, 12:45 PM
Hello Steven,

I have attached a demo project that illustrates how to bind to a list of business objects.

I hope this information helps. Please let me know if I can be of any further help.
Thank you.

Best wishes,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steven
Top achievements
Rank 1
answered on 14 Nov 2007, 11:42 PM
thanks
that's really help
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Milen | Product Manager @DX
Telerik team
Steven
Top achievements
Rank 1
Share this question
or