We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Edit pop up window cancel button

Thread ID:

Created:

Updated:

Platform:

Replies:

149329 Nov 21,2019 10:22 PM UTC Nov 22,2019 07:27 AM UTC Angular - EJ 2 1
loading
Tags: Schedule
subhajit
Asked On November 21, 2019 10:22 PM UTC


Hi, 

On editor popupClose event How can I determine if Cancel button was clicked? 

Vinitha Devi Murugan [Syncfusion]
Replied On November 22, 2019 07:27 AM UTC

Hi subhajit, 
 
Syncfusion Greetings. 
 
By using isCrudAction property, we can evaluate the Cancel click of the event window in popupClose event. 
 
 
  onPopupClose(args) { 
    if (args.type === "Editor") { 
      //if we can click save button, isCrudAction is true 
      if (!(this.scheduleObj.eventWindow as any).isCrudAction) { 
        alert("You just click on Cancel/close button"); 
      } 
    } 
 
Regards, 
M.Vinitha devi  


CONFIRMATION

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon