disabled submit html form viewmodel empty mvc code example
Example: c# razor add disabled to button if
<input type="button" class="btnresetinvoice button" value="Reset"
data-invoiceid="@item.InvoiceId"
@{ if(item.PMApproved != true) {
@:disabled="disabled"
} }
/>