You can also achieve this.
Declare a special validator with the corresponding client validation function
Now, as part of your button, set the validation group to the same as the custom validator
Inside the function CheckEditing () set args.IsValid = false in order not to get into the onClick event
Function CheckEditing (source, arguments) {// ... args.IsValid = false; }
source share