Can I set text box to readonly when using Html.TextBoxFor?

Posted by AWC on Stack Overflow See other posts from Stack Overflow or by AWC
Published on 2010-03-29T15:20:12Z Indexed on 2010/03/29 15:23 UTC
Read the original article Hit count: 810

Filed under:
|
|

I have the following tag with a Html.TextBoxFor expression and I want the contents to be read only, is this possible?

<%= Html.TextBoxFor(m => Model.Events.Subscribed[i].Action)%>

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about html