Archive for July 2nd, 2008

To get the cursor in the textbox once the AjaxControlToolKit calender date is selected.

Posted by rameshch on July 2, 2008

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>

Posted in Uncategorized | Leave a Comment »