ASP.NET MVC – Mixing Custom and Default Model Binding

override the BindProperty from the DefaultModelBinder: public class CustomModelBinder:DefaultModelBinder { protected override void BindProperty( ControllerContext controllerContext, ModelBindingContext bindingContext, System.ComponentModel.PropertyDescriptor propertyDescriptor ) { if (propertyDescriptor.PropertyType == typeof(Range)) { base.BindProperty(controllerContext, bindingContext, propertyDescriptor); } // bind the other properties here } }

MVC3 Non-Sequential Indices and DefaultModelBinder

I have this working, you have to remember to add a common indexing hidden input as explained in your referenced article: The hidden input with name = Items.Index is the key part <input type=”hidden” name=”Items.Index” value=”0″ /> <input type=”text” name=”Items[0].Name” value=”someValue1″ /> <input type=”hidden” name=”Items.Index” value=”1″ /> <input type=”text” name=”Items[1].Name” value=”someValue2″ /> <input type=”hidden” name=”Items.Index” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)