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: 381

Filed under:
|

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

Related posts about asp.net-mvc

Related posts about binding