Base solution for your next web application

Activities of "epay"

Question

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.

index.cshtml @if (IsGranted(AppPermissions.Pages_Tenant_PayRate_Edit)) { <button title="@L("Edit")" class="btn btn-circle btn-icon-only green edit-payRate" href="javascript"> <i class="icon-pencil"></i> </button> }

_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">

    &lt;div class=&quot;form-group form-md-line-input form-md-floating-label no-hint&quot;&gt;
        &lt;input class=&quot;form-control&quot; type=&quot;text&quot; name=&quot;UsedPayRateID&quot; required maxlength=&quot;@PayRate.MaxUsedPayRateIDLength&quot; value=&quot;@Model.PayRate.UsedPayRateID&gt;
        &lt;label&gt;@L("UsedPayRateID")&lt;/label&gt;
    &lt;/div&gt;

    &lt;div class=&quot;form-group form-md-line-input form-md-floating-label no-hint&quot;&gt;
        &lt;input class=&quot;form-control&quot; type=&quot;text&quot; name=&quot;PayRateType&quot; required maxlength=&quot;@PayRate.MaxPayRateTypeLength&quot;&gt;
        &lt;label&gt;@L("PayRateType")&lt;/label&gt;
    &lt;/div&gt;

This is probably not the best way to go about this. Thanks, epay.

Showing 1 to 1 of 1 entries