Top "Defaultmodelbinder" questions

For questions about .NET API DefaultModelBinder Class

Formatting nullable DateTime fields in strong typed View

I have a Person class with a BornDate property in my model defined as [DisplayName("Born Date")] public DateTime? BornDate { …

asp.net-mvc asp.net-mvc-2 defaultmodelbinder
How to send a list of int with jQuery to ASP.net MVC Default Model Binder

When I send a list of int's with jQuery like this: $.ajax('@Url.Action("Execute")', { type: 'POST', data: { …

jquery asp.net-mvc-3 defaultmodelbinder
ASP.NET MVC posted file model binding when parameter is Model

Is there any way to get posted files (<input type="file" />) to take part in model binding in …

asp.net-mvc modelbinders defaultmodelbinder httppostedfilebase
Model Binder & Hidden fields

I have a simplified test scenario useful for asking this question: A Product can have many Components, a Component can …

asp.net-mvc-3 razor defaultmodelbinder html.hiddenfor
bind attribute include and exclude property with complex type nested objects

Ok, this is weird. I cannot use BindAttribute's Include and Exclude properties with complex type nested objects on ASP.NET …

asp.net-mvc asp.net-mvc-3 model-binding defaultmodelbinder
Decimal values with thousand separator in Asp.Net MVC

I have a custom model class which contains a decimal member and a view to accept entry for this class. …

asp.net-mvc decimal defaultmodelbinder
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
ASP.Net MVC3 Parent Child Model Binding

I have a partial template that uses a User object as a model. The user has a collection of Accounts. …

asp.net-mvc-3 razor model-binding defaultmodelbinder