Hi, can anyone suggest a good tutorial on asp.net boiler plate with Modals. As I am trying to get an edit modal form to populate and allow the saving of changes.
_EditPayRateModal.cshtml @Html.Partial("~/Areas/epayday/Views/Common/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("EditPayRate" + ": " + Model.PayRate.UsedPayRateID)))
<div class="modal-body"> <form role="form" novalidate class="form-validation">
<div class="form-group form-md-line-input form-md-floating-label no-hint">
<input class="form-control" type="text" name="UsedPayRateID" required maxlength="@PayRate.MaxUsedPayRateIDLength" value="@Model.PayRate.UsedPayRateID>
<label>@L("UsedPayRateID")</label>
</div>
<div class="form-group form-md-line-input form-md-floating-label no-hint">
<input class="form-control" type="text" name="PayRateType" required maxlength="@PayRate.MaxPayRateTypeLength">
<label>@L("PayRateType")</label>
</div>
This is probably not the best way to go about this. Thanks, epay.