readonly in asp.net mvc
Posted
by user281180
on Stack Overflow
See other posts from Stack Overflow
or by user281180
Published on 2010-04-12T11:47:04Z
Indexed on
2010/04/12
11:53 UTC
Read the original article
Hit count: 299
asp.net-mvc
How do I make a textbox read only in mvc? I have included the following snippet, but it`s not working.
<%=Html.Textbox("test", "test", new { style="border: 0px; width:280px" ;readonly=true}%>
© Stack Overflow or respective owner