I have two different ways to use a DISABLED TextBoxFor
, which is:
@Html.TextBoxFor(u => u.Visibilidade, new { disabled = "disabled", @readonly = "readonly" })
and
@Html.TextBoxFor(u => u.Visibilidade, new { disabled = "disabled" })
ie. using or not readonly property
What is the difference, considering that a disabled field will not be changed any way?
Thanks in advance