I want to extract EndDate from Recurrence Rule Editor. I am able to get the EndDate when the user selects datepicker from radioButton but I am not able to find the EndDate when the user selects occurrence(s) or never radiobutton .
var
editor = $(
"#RecurrenceRule"
).data(
'kendoRecurrenceEditor'
);
var
endDate = editor._until.value();
The above gives me EndDate from Recurrence Editor. But gives wrong date when occurrence and never is selected.
Is there any function which can give me the EndDate? or is there any property in the KendoRecurrenceEditor which stores this date? or is there any other way where i can evaluate the StartDate and Rule to get the EndDate ?
Thank you!