Howdy,
<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>
Hope it helps
--
Milosz
"abcd" wrote:
> I am using AjaxControlToolKit calender extender. When I select the date from
> calender control then the date is properly shown to the text box
> (i.e.TargetControlID). But I dont get the cursor there in the textbox. How do
> I get the cursor in the textbox once the date is selected. What trick should
> I need to do.
>
> -->
>
> <asp:TextBox ID="RA_departing_date" CssClass="TBL_date" runat="server"
> TabIndex="10" onKeyPress="return checkEnter(event)" />
> <img src="App_Themes/common/images/icon_calendar.gif" alt="Calendar
> Selection" id="calendaricon1" />
> <ajaxToolkit:CalendarExtender ID="CalendarExtender1" Format ="dd-MMM-yyyy"
> runat="server" PopupButtonID="calendaricon1"
> TargetControlID="RA_departing_date">
> </ajaxToolkit:CalendarExtender>
>
|