Hi, I want to exit edit mode in a WebDatePicker immediately after a date was choosen in the drop down calendar (want to use ClientSideEvents-CalendarClosed )
but I don't know the syntax for exit edit mode. Something like (taken from grid)
function wdpSCF_CalendarClosed(webDatePicker, args) {
if (webDatePicker != null) {
wrong: webDatePicker.editor.get_behaviors().get_editingCore().get_behaviors().get_cellEditing().exitEditMode(true, true);
}
Thanx that is what I've been looking for
Hello,
Thank you for contacting Infragistics!
You can achieve the following by bluring the input element of the calendar with jQuery.
1 2 3 4 5
function wdpSCF_CalendarClosed(webDatePicker, args) { if (webDatePicker != null) { $(webDatePicker.get_element()).find('input').blur(); } }
Let me know if you need further assistance.