Use the below line of code to cancel the save event in CRM
Xrm.Page.context.getEventArgs().preventDefault();
or
e.getEventArgs().preventDefault();
e stand for to pass execution context in Java Script method.
Xrm.Page.context.getEventArgs().preventDefault();
or
e.getEventArgs().preventDefault();
e stand for to pass execution context in Java Script method.
No comments:
Post a Comment