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

Updating ExpandoObject.

2 Answers 205 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ilya
Top achievements
Rank 1
Ilya asked on 20 Nov 2012, 08:06 PM
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 Answers, 1 is accepted

Sort by
0
Vivardhan
Top achievements
Rank 1
answered on 03 May 2016, 07:05 PM
I'm able to read the data by binding ExpandoObject but unable to get the modified values in ASP.Net MVC 6.  Please help.
0
Rosen
Telerik team
answered on 06 May 2016, 11:44 AM

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!
 
Tags
Grid
Asked by
Ilya
Top achievements
Rank 1
Answers by
Vivardhan
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or