This question is locked. New answers and comments are not allowed.
Hi,
We have two branches in our source control. Both use differnt versions of Telerik.Web.Mvc. Branch 1 uses 2011.1.315.340. Branch 2 uses 2010.3.1121.340.
We use datepicker control from Telerik.Web.Mvc.In Branch1 we get an error upon clicking the button of the datepicker to view the calender. The error is thrown in
telerik.datepicker.js at line 446.
$t.datepicker = function (element, options) {
$.extend(this, options);
if (element.nodeName.toLowerCase() !== "input" && element.type.toLowerCase() !== "text") {
throw "Target element is not a INPUT";
}
The error says "Type is undefined"
Branch 2 works very well.
When we temporarily used Branch 2 telerik.datepicker.js and telerik.calendar.js files in Branch 1, it worked correctly. We suspect some changes in the new telerik.datepicker.js or telerik.calendar.js files i.e. in version 2011.1.315.340 stop it from working correctly.
Can you help us fix this problem?
Thanks
We have two branches in our source control. Both use differnt versions of Telerik.Web.Mvc. Branch 1 uses 2011.1.315.340. Branch 2 uses 2010.3.1121.340.
We use datepicker control from Telerik.Web.Mvc.In Branch1 we get an error upon clicking the button of the datepicker to view the calender. The error is thrown in
telerik.datepicker.js at line 446.
$t.datepicker = function (element, options) {
$.extend(this, options);
if (element.nodeName.toLowerCase() !== "input" && element.type.toLowerCase() !== "text") {
throw "Target element is not a INPUT";
}
The error says "Type is undefined"
Branch 2 works very well.
When we temporarily used Branch 2 telerik.datepicker.js and telerik.calendar.js files in Branch 1, it worked correctly. We suspect some changes in the new telerik.datepicker.js or telerik.calendar.js files i.e. in version 2011.1.315.340 stop it from working correctly.
Can you help us fix this problem?
Thanks