Batch edit "preloaded" items

2 posts, 0 answers
  1. Ezequiel
    Ezequiel avatar
    44 posts
    Member since:
    Oct 2011

    Posted 16 Apr 2013 Link to this post

    I have a detail grid where I want to display a specified number of items.
    My master grid item have a Quantity columns that is 6, for example. And for detail items, in database, is set that I need to have 4 of type A, and 2 of type B.
    and the user *MUST* fill all the 6 lines.

    in controller I add 6 items to the list, 4 for type A, 2 for type B, for each type, while needed:
    list.Add(new Editable
                            Id = -1,
                            MasterId = masterId,
                            Type = TypeCode

    but when I try to save it, I got this error in jquery.min.js:
    Unhandled exception at line 3, column 5099 in http://localhost:60455/Scripts/kendo/jquery.min.js
    0x800a138f - Microsoft JScript runtime error: 'length' is null or not an object
    Is there a way to work this out?

  2. Daniel
    Daniel avatar
    2231 posts

    Posted 18 Apr 2013 Link to this post

    Hello Ezequiel,

    I am not sure if I understand the exact scenario. Could you provide the full code you are using so I can check the setup?

    Kind regards,
    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