BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
@Html.EJS().Grid("DefaultPaging").ActionBegin("ActionBeginEvent") . . . ..Render()
function ActionBeginEvent(args) {
if (args.requestType == 'save') {
var gridObj = document.getElementsByClassName("e-grid")[0].ej2_instances[0];
if (args.data.CustomerID.length < 5) { // you can write validation condition here.....
args.cancel = true;
gridObj.closeEdit();
}
}
} |