I am initializing a datetimepicker element declaratively like this:
when I later on try to get a refence to the datetimepicker object, I use
var dtp = $('#foo').data('kendoDateTimePicker');
but all I get is null. How come?