Updating ExpandoObject.

3 posts, 0 answers
  1. Ilya
    Ilya avatar
    1 posts
    Member since:
    Nov 2012

    Posted 20 Nov 2012 Link to this post

    Hi! I'm using a IEnumerable<dynamic> as a model, as show in this forum thread.
    http://www.kendoui.com/forums/mvc/grid/kendo-mvc-grid---data-binding-to-dynamic-object-model.aspx

    But when i try to add editing option to my grid

    .Editable(editable => editable.Mode(GridEditMode.InCell))

    i've got a mistake. Does Kendo UI Grid allow editing dynamic objects? Thanks.
  2. Vivardhan
    Vivardhan avatar
    1 posts
    Member since:
    Apr 2016

    Posted 03 May 2016 Link to this post

    I'm able to read the data by binding ExpandoObject but unable to get the modified values in ASP.Net MVC 6.  Please help.
  3. Rosen
    Admin
    Rosen avatar
    3253 posts

    Posted 06 May 2016 Link to this post

    Hello Vivardhan,

    We have already answer your question in the support ticket you have open on this matter. For your convinced I'm also pasting the answer here:

           Unfortunately, as far as I'm aware the built-in ASP.NET MVC ModelBinder does not support binding a dynamic types. Therefore, you will need to use a concrete type in order to bind the posted data.

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