Html.LabelFor Specified Text

后端 未结 7 1568
渐次进展
渐次进展 2020-12-24 04:28

Anyone got any idea on how to specify text when using Html.LabelFor(c=>c.MyField). It\'s just MyField might not be an appropriate name to displ

相关标签:
7条回答
  • 2020-12-24 05:11

    There is a new overload in MVC 3 so you should be able to specifiy custom test for the labelfor helper.

    0 讨论(0)
提交回复
热议问题