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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -