Friday, May 23, 2014

Cancel save event in MS CRM 2013

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.

No comments: