Bug with Multiselect in a Grid

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    12 posts
    Member since:
    Sep 2011

    Posted 16 Aug 2013 Link to this post

    Using the following example project for a multi-select in a Grid:
    http://www.kendoui.com/code-library/permalink/boByv66aG2OF1P8AAFTdxQ

    Failure steps
    1. Run the project as-is.
    2. Edit any grid line.
    3. Add a Territory by typing the first few letters and pressing enter to select the highlighted item.
    4. Save the grid line

    Issue

    In the Update action, the ModelState is not valid and the Territories list in the EmployeeViewModel has null entries for the first X items (equivalent the the number of items existing before the update). The data POSTed from the grid seems to be inconsistent. New items are posted as TerritoryViewModel-type objects but the existing items are posted as the value (id) only.

    Note
    Adding at least one item by clicking with the mouse magically resolves this issue and all items are posted as complete objects.
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 20 Aug 2013 Link to this post

    Hello Patrick,

     
    I believe that issue is related to a bug in the MultiSelect MVVM value binding, which is addressed in the latest internal build of Kendo UI. Could you please download it and give it a try? Let me know if the problem still persists.

    Regards,
    Georgi Krustev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top