Hi,
How can I disable the textbox for systemname field in topics section?
I tried changing @Html.EditorFor in Admin->topics-> _CreateOrUpdate.cshtml
from @Html.EditorFor(model => model.SystemName) to
@Html.EditorFor(model => model.SystemName, new { disabled="disabled", @readonly = "readonly" })
This didn't work
Then i replaced the @Html.EditorFor control with
@Html.TextBoxFor(model => model.SystemName, new { disabled="disabled", @readonly = "readonly" })
This worked. but I am not able to edit the text there on-wards.
It was giving a required field validation error then.
Could somebody please advise?