Declined
Last Updated: 31 May 2021 14:32 by ADMIN
Charles Pugh
Created on: 17 Feb 2016 16:12
Category: Scheduler
Type: Feature Request
0
RecurrenceRule.TryParse - it would be helpful to be able to find out why a rule fails to parse
When calling Telerik.Web.UI.RecurrenceRule.TryParse and it returns false - there is no way to know what is actually wrong with the rule to parse.

Perhaps a Parse( ) method is also provided that will throw an exception with details of what is wrong with the specified string recurrence rule.
1 comment
ADMIN
Peter Milchev
Posted on: 31 May 2021 14:32

Hello Charles,

The RecurrenceRule does not always fail with an exception. It uses a lot of Regular Expressions internally to parse each section of the recurrence rule. You can access the source code of the controls from your account:

Once you download the source code, you can create a custom Recurrence Rule parser, which you can use for debugging purposes. The original file is located here:

  • Telerik.Web.UI\Scheduler\RecurrenceRule\RecurrenceRule.cs

Regards,
Peter Milchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.