Top "Modelbinders" questions

MVC3 Non-Sequential Indices and DefaultModelBinder

Is it true that the default model binder in MVC 3.0 is capable of handling non-sequential indices (for both simple and …

asp.net-mvc-3 modelbinders defaultmodelbinder
Custom model binding, model state, and data annotations

I have a few questions regarding custom model binding, model state, and data annotations. 1) Is it redundant to do validation …

asp.net-mvc validation data-annotations modelbinders modelstate
ASP.NET MVC - Custom Model Binder on Interface Type

I'm not sure if this behavior is expected or not, but it seems that custom model binding doesn't work when …

asp.net-mvc interface modelbinders
Setting ModelState values in custom model binder

I am using custom model binder in ASP.NET MVC 2 that looks like this: public override object BindModel(ControllerContext controllerContext, …

asp.net-mvc-2 modelbinders
ASP.Net MVC ModelBindingContext class-- how are its model values populated?

I'm scratching my head a bit at how model binders do their work in ASP.Net MVC. To be specific, …

asp.net-mvc modelbinders custom-model-binder
Use custom ASP.NET MVC IValueProvider, without setting it globally?

I want to be able to grab keys/values from a cookie and use that to bind a model. Rather …

asp.net-mvc model-binding modelbinders value-provider
ASP.NET MVC - Custom model binder able to process arrays

I need to implement a functionality to allow users to enter price in any form, i.e. to allow 10 USD, 10$, $10,... …

asp.net-mvc arrays modelbinders imodelbinder custom-model-binder
DataContract model binding to JSON in ASP.NET MVC Action Method Arguments

MVC3 comes out of the box with JsonValueProviderFactory() which is very handy for binding incoming JSON to a model. Unfortunately, …

c# asp.net-mvc-3 datacontractserializer modelbinders model-binding