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 AradhyaPosted May 27, 2016, 5:59 AM
Niyazi TorosPosted May 27, 2016, 6:26 AM
Hi avikshith
Thank you. Padding-left was 20px and make it 0 px and worked.
I owerwrite the css as;
Kind Regards