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

Object does not support the property or method "kendo datetimepicker"

2 Answers 121 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 13 Jul 2012, 09:38 PM
Hi,

I try to create a DateTimePickerFor to pick my StartDate in an MVC Application.

@(Html.Kendo().DateTimePickerFor(model => model.StartTime)
.Format(
"dd.MM.yyyy HH:mm")
.Name(
"DateTimePickerStartTime")
.Value(DateTime.Now)
)

When I load the page I can just see a textbox. The DropDownListFor worked fine.

In IE developer tools it says:
Object does not support the property or method "kendo datetimepicker"

But I did not even create the object, it is created by the WidgetFactory.

Can you tell me what I missed?

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 16 Jul 2012, 07:56 AM
Hello Kevin,

 This would happen if the required JavaScript files are not included or if jQuery is included twice. Please refer to the documentation for more info.

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ra
Top achievements
Rank 1
answered on 03 Sep 2012, 07:07 PM
I get the same error.
I am using the Kendo web ui trial version.

The page source shows that I have included jQuery and the Kendo files.
Any ideas why this happens?
I am using jQuery 1.8.0.

Thanks,
Ra
Tags
Date/Time Pickers
Asked by
Kevin
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Ra
Top achievements
Rank 1
Share this question
or