Thank you for getting in touch with us.
You can use the Telerik.Web.UI.Reminder object and its toString method and assign its Trigger property as for example in the code below:
Reminder newreminder =
newreminder.Trigger = TimeSpan.FromMinutes(1);
Yet I would like to explain that the attributes are not directly rendered but in a Telerik specific way. Here is the string generated from the above code:
BEGIN:VALARM TRIGGER:-PT1M X-TELERIK-ATTRIBUTE;NAME=DESCRIPTION;VALUE=DISPLAY X-TELERIK-ATTRIBUTE;NAME=ACTION;VALUE=Reminder X-TELERIK-UID: END:VALARM
Unfortunately the Reminder object does not support a way to directly parse the attributes as in your requirement. One possible solution is to extend our Reminder class and override its toString method according to your custom requirements.
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer
and share your thoughts.