Model prefix when using typed HTML helpers
Posted
by Gopher
on Stack Overflow
See other posts from Stack Overflow
or by Gopher
Published on 2010-03-29T11:02:14Z
Indexed on
2010/03/29
11:03 UTC
Read the original article
Hit count: 403
asp.net-mvc
I want to render input for model field with prefix, like so: ..name="Field.FormId"..
.
How can I do this using typed helpers? When I use
Html.HiddenFor(m => m.FormId),
I get 'FormId' as field name..
© Stack Overflow or respective owner