2011-11-18 61 views
4

我希望MVC中的助手能够使用lowerCamelCase中的名称和ID呈现所有输入标记。有可能吗?ASP.NET MVC 3在lowerCamelCase中的输入名称和ID

Examel: @ Html.TextboxFor(M => m.FirstName)

默认: <intput type="text" name="FirstName" id="FirstName" />

我想: <intput type="text" name="firstName" id="firstName" />

回答