Render string as a "label" instead of "input" in ASP.NET MVC 2 using UIHint?
I tried UIHint("Label") but it doesn't change the behavior. If someone also can point me to a list of possible values for UIHint, that would be awesome!
Solution
Try [HiddenInput(DisplayValue=true)] on your property.