Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How to prevent Save and Close Operation in Javascript

$
0
0

Hello,

We are trying to validate the rows in subgrid, before saving a record. Javascript code is working when clicked on save button, however we are unable to prevent the close of window operation. Can anyone provide some insights on how we can prevent the close operation?

Calling function to ignore save : context.getEventArgs().preventDefault();

Thanks

Drew


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images