modelbinders
ASP.NET MVC 2: Updating a Linq-To-Sql Entity with an EntitySet
I have a Linq to Sql Entity which has an EntitySet. In my View I display the Entity with it\'s properties plus an editable list for the child entites. The user can dynamically add and delete those chi[详细]
2022-12-24 23:46 分类:问答Multiple custom model binders for one model in ASP.NET MVC
This is a general model binding question that applies to MVC 1 & 2.I\'m wondering if MVC2 would be better for this, but here\'s my question:[详细]
2022-12-24 04:28 分类:问答asp.net MVC 1.0 and 2.0 currency model binding
I would like to create model binding functionality so a user can enter \',\' \'.\' etc for currency values which bind to a double value of my ViewModel.[详细]
2022-12-22 21:26 分类:问答Attribute based validation in ASP.NET Web Forms using MVC libraries?
Is there a way in ASP.NET Webforms to accommodate开发者_StackOverflow中文版 attribute based validation. If so any urls where this has been demonstrated. I am not looking for open source projects.[详细]
2022-12-22 19:06 分类:问答Custom DateTime model binder in Asp.net MVC
I would like to write my own model binder for DateTime type. First of all I\'d like to write a new attribute that I can attach to my model property like:[详细]
2022-12-21 09:12 分类:问答Binding Data to an Existing Object in Asp.net MVC
Within an ASP.Net MVC model binder is it possible to create an object of the bound type and then update the properties on it.[详细]
2022-12-21 03:39 分类:问答Is there a way to have the DefaultModelBinder ignore empty items when binding to a List<Enum>
开发者_运维知识库I have a scenario where I\'d like to change the behavior of the DefaultModelBinder in how it binds to a List of enums.[详细]
2022-12-21 02:26 分类:问答Why does ASP.NET MVC care about my read only properties during databinding?
Edit: Added bounty because I\'m seeking an MVC3 solution (if one exists) other than this: DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes = false;[详细]
2022-12-19 21:07 分类:问答ASP.NET MVC 1.0 - Model binder for Dictionaries
I have a ViewModel class containing a Dictionary (and other irrelevant things for this question): public class MyViewModel {[详细]
2022-12-17 14:03 分类:问答How can i use a ModelBinder to correct values that will then be visible to the user?
I want to write a modelbinder for ASP.NET MVC that will correct values that will be visible to the user. Maybe it will capitalize the initial letter of a value, trim strings, etc. etc.[详细]
2022-12-17 04:12 分类:问答