This is a migrated thread and some comments may be shown as answers.

"Stack overflow" Issue when setting the date to a datepicker with function set_selectedDate

0 Answers 177 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 10 Jun 2013, 03:26 PM
Hi All,

We are using a telerik datepicker control, we have got a "Stack overflow" issue  when setting the date with "set_selectedDate"  in IE8.

Is there any other way to fix this issue. Here, is my javascript code.

And, please help me out over this

var expiraryDateToSet = new Date(Date.parse(formatedEffectiveDate));
expiraryDateToSet.setFullYear(expiraryDateToSet.getFullYear() + parseFloat(durationYear.value));
durationYearsHidden.value = durationYear.value;                           
datePickerExpirary.set_selectedDate(expiraryDateToSet);
durationMonthsHidden.value = '';

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Vinay
Top achievements
Rank 1
Share this question
or