Master Details Concept

2 posts, 0 answers
  1. Arun Kumar
    Arun Kumar avatar
    61 posts
    Member since:
    Nov 2009

    Posted 13 Jan 2013 Link to this post

    I want to implement master - details concept in 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.
  2. Daniel
    Daniel avatar
    2226 posts

    Posted 16 Jan 2013 Link to this post


    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.

    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top