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

datepicker dateView.calendar not defined in new Kendo library

1 Answer 164 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Achilles
Top achievements
Rank 1
Achilles asked on 26 May 2014, 09:46 AM
Hi,
I have a datepicker where I was setting the depth of the calander following the exaple as in
http://jsfiddle.net/krustev/nPDmK/.
This was working for me till I upgraded to the Kendo release 2014.1.416.

Now I get the exception "dateView.calendar is not defined" against the code
var datepicker = $("#StartDate").data("kendoDatePicker");
var dateView = datepicker.dateView;
dateView.calendar.element.removeData("dateView");


Is there something I have to change to adapt to the new Kendo library ?

Kind Regards

Achilles

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 27 May 2014, 09:01 AM
Hi Achilles,

The described issue is related to a breaking change made in Q3 SP1 2013 release of Kendo UI. You can find more information and possible workaround here.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Date/Time Pickers
Asked by
Achilles
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or