开发者

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!


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


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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜