views:

54

answers:

2

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!

A: 

Do you have a DisplayTemplate Folder in your Shared Folder with Label.ascx?

Raj Kaimal
No, I was assuming there might be already something core for this.
CodeGrue
+1  A: 

Try [HiddenInput(DisplayValue=true)] on your property.

Jab