views:

62

answers:

1

hello all, please tell me how to give the id to the html textbox

my html tag looks like this

<%=Html.TextBox("username")%>

please help me

Thanks Ritz

+3  A: 
<%= Html.TextBox("username",new { ID = "<put id here>"}) %>
Joshlo