When calling Html.EditorFor(m => m), where m is a public class with public properties, a hidden input and a label are displaye
Html.EditorFor(m => m)
m
[HiddenInput(DisplayValue=false)]
Otherwise HideSurroundingHtml is not set correctly.
HideSurroundingHtml