Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Grid not updating MVC Model
posted

I'm trying to use the IgniteUI Grid control with MVC. The data appears in the Grid properly when viewing, but when I call my Edit ActionResult method in my controller to save the view back to the model, the property that is bound to the Grid comes back as being null while all other fields have their correct values. The Grid only renders a single property of the model, not the entire thing. I cannot figure out what I need to do in order to get the Grid to push its data into the view and back to the model when saving.

I have attached a stripped down example of what I am trying to do. The real code has a lot more properties, all of which get their correct values except for the Grid.

Any suggestions as to how I can the Grid data to be sent back with everything else? Do I need to call something in order for the Grid to save its data so that it's sent back with the rest of the view data?

Thanks.

example.zip
Parents Reply Children
No Data