i have Recurrence Editor in RadWindow. I cannot set the recurrence rule in recurrence editor using set_recurrenceRule() in javascript. This problem caused only in IE8 .Please let me know the solution.
Thanks,
Prasanna
3 Answers, 1 is accepted
0
Plamen
Telerik team
answered on 23 Nov 2012, 10:04 AM
Hi Prasanna,
I have tested the issue and here it the code that worked properly in all browsers at my side:
<script type="text/javascript">
function OnClientClicked(sender, args) {
var rrule = Telerik.Web.UI.RecurrenceRule.parse("DTSTART:20100714T000000Z\nDTEND:20100715T000000Z\nRRULE:FREQ=HOURLY;COUNT=3;INTERVAL=1\nEXDATE:20100714T000000Z,20100714T010000Z");
Hope this will be helpful. Please review it and let me know if you have further questions concerning this issue.
Kind regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Thanks.... It works fine. When i get recurrence rule from the database the format of the recurrence rule is like this " DTSTART:20100714T000000Z DTEND:20100715T000000Z RRULE:FREQ=HOURLY;COUNT=3;INTERVAL=1 EXDATE:20100714T000000Z,20100714T010000Z
"
Now how to convert this to "DTSTART:20100714T000000Z\nDTEND:20100715T000000Z\nRRULE:FREQ=HOURLY;COUNT=3;INTERVAL=1\nEXDATE:20100714T000000Z,20100714T010000Z"
0
Plamen
Telerik team
answered on 26 Nov 2012, 08:48 AM
Hi Prasanna,
Here is one easy way to achieve such transformation:
string a = "DTSTART:20100714T000000Z DTEND:20100715T000000Z RRULE:FREQ=HOURLY;COUNT=3;INTERVAL=1 EXDATE:20100714T000000Z,20100714T010000Z";
string updatedA = a.Replace(" ", "\n");
Hope this will be helpful.
All the best,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.