开发者

Render string as a "label" instead of "input" in ASP.NET MVC 2 using UIHint?

开发者 https://www.devze.com 2022-12-28 04:05 出处:网络
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!Try [HiddenInput(DisplayValu

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!


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消