【发布时间】:2013-07-09 10:25:13
【问题描述】:
我认为Html.HiddenFor 可以使用Html.DisplayFor 或Html.EditorFor 之类的模板。不幸的是,该方法不像其他方法一样接受TemplateName。
我知道,解决方法是使用具有 HiddenFors 的 DisplayFor/EditorFor 模板。但我想了解如何扩展Html.HiddenFor 方法。有人吗?
问候
【问题讨论】:
标签: c# asp.net-mvc-4 mvc-editor-templates