Hi,
We have been using the Blazor library with the Scheduler to manage appointments. When a daily recurrence is setup using your RecurrenceEditor control this gives dates in the format like so:
FREQ=DAILY;INTERVAL=1;UNTIL=20220430T000000Z;
When displaying an event with this exact RRule string in the Blazor Scheduler it works fine. However, when attempting to display the same rule in the WPF Scheduler control an exception is thrown:
System.FormatException: 'String was not recognized as a valid DateTime.'
If I manually create an appointment object with the Recurrence Rule changed to the following format as per your documentation, then the event displays correctly as you can see:
Looking at the documentation for both WPF and Blazor, I can see that you explicitly mention two different formats (In this case, looking at the UNTIL section).
WPF - https://help.syncfusion.com/wpf/scheduler/appointments#recurrence-rule
Blazor - https://blazor.syncfusion.com/documentation/scheduler/appointments#recurrence-properties
Based on this, I setup the opposite test using FREQ=DAILY;INTERVAL=1;UNTIL=20220430; on the Blazor scheduler and this throws an exception aswell.
Why are the formats different between the two? I can see no way to specify the date format for the recurrence rules in either control. We were advised in a previous support ticket (#358702) that the RecurrenceRule behavior is the same but evidently it is not.
Please setup the same scenario for yourselves, we cannot use the WPF scheduler as it is.
Hi Muniappan,
Great, I assume the WPF Recurrence Editor will also be updated to accept the same date format?
If you edit an appointment with the recurrence rule causing the exception, the default edit window for the calendar throws the same exception.
We are using the Blazor Recurrence Editor control to generate the Recurrence Rule string so I would expect the WPF control to function in the same way.
Thanks, Lee.
Thanks SaiGanesh, when will this be implemented?
The blazor and wpf controls cannot be used in conjunction without it.
Hi SaiGanesh,
Is this a feature though? It's a bug because it causes an exception when the different format is provided.
You expect me to spend £800 on a control suite that doesn't work and then have to wait 6 months for a fix?
Lee.
Hi again SaiGanesh,
This isn't a feature, this is a bug. It shouldn't throw an exception, it should handle the different formats gracefully.
Lee.
Hi SaiGanesh,
If the patch is specific to 19.4.0.48, how will I get the fixes for our other outstanding issues? We need the scroll calendar fix being released on the 15th.
I don't understand why this bug is being treated differently to the others.
Lee