How do I control the DisplayForModel method in ASP.NET MVC 2?
Posted
by Zack Peterson
on Stack Overflow
See other posts from Stack Overflow
or by Zack Peterson
Published on 2010-05-13T21:01:31Z
Indexed on
2010/05/13
21:04 UTC
Read the original article
Hit count: 599
If I use DisplayForModel in a strongly-typed ASP.NET MVC 2 View with an EntityObject model, then unwanted field labels are displayed:
- EntityState
- Unchanged
- EntityKey
How can I control the output to hide these?
© Stack Overflow or respective owner