how can i disable OnOpen if the textbox is focused. the calender should only open if the user clicks on the icon.
Regards,
Timo
3 Answers, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 10 Sep 2010, 03:04 PM
Hello Timo,
Unfortunately we do not support this feature out of the box. Anyway you can accomplish this task by wiring OnLoad client event and call this code snippet:
functiononLoad(e) {
vardatepicker = $(this).data('tDatePicker');
datepicker.$input.unbind('focus');
$(this).find('> .t-icon')
.unbind('click')
.bind('click', function() {
if(datepicker.isOpened()) {
datepicker.parseDate(datepicker.$input.val());
datepicker.hide();
} else{
datepicker.show();
}
});
}
Kind regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
Currently, we do not have plans to support this feature in future. I will suggest you vote for it in our PITS system. Depending on customers interest and desire, we will decide whether to implement this feature or not.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items