if we are using AjaxControlToolKit calender extender. When we select the date from
calender control then the date is properly shown to the text box (i.e.TargetControlID). To get the cursor in the textbox once the date is selected.
The Trick is
<ajaxToolkit:CalendarExtender ID=”CalendarExtender1″ Format =”dd-MMM-yyyy”
runat=”server” PopupButtonID=”calendaricon1″
TargetControlID=”RA_departing_date”
OnClientDateSelectionChanged=”function(sender, e) {
sender.get_element().focus(); }”>
</ajaxToolkit:CalendarExtender>