asp.net mvc - Custom Model Binder -
i'd create custom model binder.
let's there're 20 properties. need manualy bind 5 of them. i'd bind other 15 properties automatic default binder does.
is somehow possible ?
sure, least thing can inherit defaultmodelbinder
, override bindmodel(...)
method , use base.bindmodel(...)
whatever want. after provide own binding logic else.
Comments
Post a Comment