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

Master Details Concept

1 Answer 175 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arun Kumar
Top achievements
Rank 2
Arun Kumar asked on 13 Jan 2013, 11:58 AM
I want to implement master - details concept in asp.net mvc with kendoui.

Basically I have one mvc view to capture master record info. In the same view I want to add multiple detail records using kendo grid (like invoice).

I have successfully achieved the master entry part but details are not saved. I have checked the controller action method the child entities are not added in the master entity. It always shows as empty list.

I am using EF 5 and MVC 4 with Unit Of Work pattern. I am new to these technologies. I would appreciate if someone help to solve this problem.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 16 Jan 2013, 09:45 AM
Hello,

If the scenario is the same as in the support ticket for the master detail view with upload that you have opened and you are submitting a form, then you should use the approach suggested in this code-library to render inputs in the Grid template. By default does the Grid does not use inputs in display mode so no values will be send to the controller with a form.

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Arun Kumar
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Share this question
or