Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145002 | May 31,2019 02:37 PM UTC | Jun 5,2019 04:35 AM UTC | ASP.NET Core - EJ 2 | 3 |
![]() |
Tags: DataGrid |
<script>
function actionComplete(args) {
if ((args.requestType === 'beginEdit' || args.requestType === 'add')) {
// Add Validation Rules
args.form.ej2_instances[0].addRules('EmployeeID', { required: true });
if (args.requestType === 'beginEdit') {
// send ajax for edit partial
. . .
}
if (args.requestType === 'add') {
// send ajax for add partial
. . .
}
}
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.