I want to disable a textbox in the view. So I use following code:

<%= Html.TextBox("ID", Model.ID, new { readonly="true" })%>

or

<%= Html.TextBox("ID", Model.ID, new { enable="false" })%>

Both of them don't work. what's the solution?

Edit
Report