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}%>
<%=Html.Textbox("test", "test", new { style="border: 0px; width:280px", @readonly = "readonly"}%>
精彩评论