Which meta attribute will hide a public class property when calling EditorFor(...)?

Posted by FreshCode on Stack Overflow See other posts from Stack Overflow or by FreshCode
Published on 2010-05-08T09:36:05Z Indexed on 2010/05/08 9:38 UTC
Read the original article Hit count: 390

When calling EditorFor(m => m), where m is a public class with public properties, a label and display field are displayed even for properties with the [HiddenInput] attribute.

How can I hide the property without making it private or creating an editor template?

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about editorfor