I have the following inside my asp.net mvc web application :-
<div><span class="f">Data Center Name</span> @Html.EditorFor(model => model.Switch.TMSRack.DataCenter.Name, new { disabled = "disabled" })</div>
but the field will not be disabled ,, can anyone adivce please? THanks
@Html.EditorFor(model => model.Property, new { htmlAttributes = new { @disabled= "disabled" }})
– Eleanoraeleanore