rendering - ASP.NET MVC: set custom name to rendered html element -
i generate html textbox in way:
<%: html.textboxfor(m => m.category) %>
asp.net mvc render html:
<input type="text" value="" name="category" id="category">
is there way set manually name of textbox not eqaul property "category", else?
thanks.
<%: html.textbox("someothername") %>
Comments
Post a Comment