ASP.NET MVC 2: add Bind(Prefix) attribute in ActionFilter
Posted
by Feryt
on Stack Overflow
See other posts from Stack Overflow
or by Feryt
Published on 2010-05-09T09:11:24Z
Indexed on
2010/05/09
9:18 UTC
Read the original article
Hit count: 375
asp.net-mvc
|binding
Hi.
Is it possible to add BindSttribute
to parameter in action filter?
Each of my view models implements IViewModel { string Prefix { get; } }
interface and i would like to set BindAttribute(Prefix = Model.Prefix) for Action parameter automatically.
© Stack Overflow or respective owner