Hi, the attached image shows popup which opens up when I make multiple changes (back to back) to a single occurrence in a series. How do I hide this alert shown in the attachment and ALWAYS default to "NO". In other words, it should behave as if the user selected "NO" from that alert. Attachment: recurrence_alert_56fca393.zip
Kindly try with the above sample and let us know, if you need any further assistance on this.
JLjose laraDecember 9, 2019 10:34 AM
thx for your sample. Please read my question again. You are suppressing the alert and closing the editor window. Instead, I want to suppress(hide) the alert and continue AS USUAL and save the changes made by the user. Normally, If the user clicked on "NO" on the recurrence validation alert, the changes made to the editor window will be saved to all occurrences in the series, EXCEPT the dates int the recurrence exception field.
Run your code sample again and you would notice that whatever change you made to the editor window, WILL NOT BE SAVED. I just want to suppress the alert and proceed with saving the changes. In other words, it should behave as if the the user clicked on "NO" on the recurrence validation alert.
Hope this is clear to you.
HBHareesh Balasubramanian Syncfusion Team December 10, 2019 08:21 AM
Sorry for the inconvenience caused.
You requirement can be achieved by disabling the enableRecurrenceValidation property, which will prevent all the recurrence related alerts and for the same we have prepared a sample, which can be viewed from the following link,
Kindly try the above sample, if you have any concerns please revert us back for further assistance.
JLjose laraDecember 10, 2019 12:55 PM
Hareesh, sorry this doesn't work either. I don't understand why my question is not being interpreted properly. I am trying my best to be descriptive, so that you can understand my requirement.
In your code sample, the alert is suppressed, but when there is a recurrence exception event, making a change to the series, also gets applied to the exception event. This is NOT what I want.
Steps to reproduce : Create a recurring event-> edit a single occurrence (change the time) -> then double click an another occurrence LINKED to the series-> Click "Edit series" -> change the time. You will now see that the detached occurrence also gets attached to the series, with the updated time. This is something I don't want. The detached occurrence, should exist independently even AFTER the series is changed.
In the recurrence validation alert, clicking on "NO" will result in the behavior I am looking for. I want the same behavior WITHOUT showing the validation alert.
VDVinitha Devi Murugan Syncfusion Team December 11, 2019 04:39 AM
Sorry for the inconvenience.
We prepared below sample to prevent the alert window and ignore the changes in occurrence by making use of popupOpen event and the same can be found in the link below.