April 24, 2014

MVC Model Binding with an Ajax Form Submit

By |2014-04-24T16:19:52+00:00April 24th, 2014|Categories: C#, MVC|Tags: , , , , |

You may come across a time where you would like to submit a form using Ajax, and still want to preserve the useful model binding of MVC. Normally when you submit a form using a standard submit (non async), the MVC framework will automatically take care of pulling your values out of your form and populating [...]

June 26, 2012

MVC Model Binding Not Working with Fields

By |2012-06-26T21:22:52+00:00June 26th, 2012|Categories: ASP.NET, MVC|Tags: , |

This will be a very quick/simple post. Maybe this is very clear to most people when they start out developing with ASP.NET MVC but it was not right away with me... When you are using 2-way model binding in MVC to bind your model to your view and back again, you MUST use properties with getters/setters, [...]

Go to Top