ASP.NET MVC 3 - Data Annoation and Max Length/Size for Textbox Rendering

后端 未结 0 1272
失恋的感觉
失恋的感觉 2021-02-09 04:06

I know on the Razor View file, we can do something like this @Html.TextBox(\"username\", null, new { maxlength = 20, autocomplete = \"off\" })

However, I am hoping to c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题