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. Image for the cookie policy date

CurrentAction of PopupCloseEvent wrong value


In my code I have an scheduler and using an custom EditorTemplate for the editor.

I am handling the PopupCloseEvent and check the current action of the PopupCloseEventArgs to decide the next statement. Unfortunately, when editing or deleting an event the CurrentAction-Property of the event args is wrong! It always contains "Add", even when I'm editing or deleting an event.

Thats a huge problem, because  I cannot know if the user wants to delete/add/edit an event.


2 Replies 1 reply marked as answer

SK Satheesh Kumar Balasubramanian Syncfusion Team March 1, 2023 01:57 PM UTC

Hi Yannici,


We confirmed your reported problem with "CurrentAction of PopupCloseEventArgs value is wrong" as a bug and logged the defect report. The fix for this defect will be included in our upcoming weekly patch release, which is expected to be rolled out by the mid of March 2023. You can track the status of the fix at the following link:


Disclaimer: The inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Until then we suggest you to use the GetCurrentAction public method as workaround.


    public void OnPopupClose(PopupCloseEventArgs<AppointmentData> args)


        var currentAction = ScheduleRef.GetCurrentAction();

        if (args.Type == PopupType.Editor || args.Type == PopupType.QuickInfo)


            args.Data.Subject = (args.Data.Subject == "Add title") ? "New event" : args.Data.Subject;   //The default subject is changed from Add Title to New event





Satheesh Kumar B

Attachment: ScheduleComponent_ee823ba4.zip

RV Ravikumar Venkatesan Syncfusion Team March 8, 2023 01:20 PM UTC

Yannici, The fix for the issue “CurrentAction of PopupCloseEventArgs value is wrong” has been included in our weekly release 20.4.53. Upgrade to the latest version to resolve the issue.

Release notes: https://blazor.syncfusion.com/documentation/release-notes/20.4.53?type=all#scheduler

Attachment: syncfusion_blazor_schedule_popupclose_currentaction_fa06f39b.zip

Marked as answer
Live Chat Icon For mobile
Up arrow icon