Hi,
After I disable the "@Html.EditorFor" item in cshtml page I cannot align the item as shown below. How do I alaign the disabled item?

Here is my code;
- class="form-group">
- @Html.LabelFor(model => model.CustomerActive, htmlAttributes: new { @class = "control-label col-md-2" })
class="col-md-10">class="checkbox">- @Html.EditorFor(model => model.CustomerActive, new { htmlAttributes = new { disabled = "disabled", @readonly =
- "readonly", @class = "form-control" } })
- @Html.ValidationMessageFor(model => model.CustomerActive, "", new { @class = "text-danger" })

Avikshith AradhyaRank #4,672 · 331 reputationPosted May 27, 2016, 1:59 AM EDT
Niyazi Toros34 reputationPosted May 27, 2016, 2:26 AM EDT
Hi avikshith
Thank you. Padding-left was 20px and make it 0 px and worked.
I owerwrite the css as;
Kind Regards