This is a migrated thread and some comments may be shown as answers.

Tabbing between datepicker button and calendar

3 Answers 1181 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
ankool
Top achievements
Rank 1
ankool asked on 04 Jun 2008, 06:04 AM
Hi,
I am using a rad date picker control in my web application. Now, i want user to enter date using keyboard, via calendar of date picker.

So, user press TAB key to reach input box , then another TAB to reach date picker button, press ENTER key to open calendar.

Now i want that this ENTER to bring focus over calendar control. So that next tab moves within calendar dates and navigation ctrls.

Then i move out of calendar either by pressing ESC key or by selecting a date. And this should bring the tabbing focus back to either date input area or calendar button. I have handled this moving out part by writing javascript on OnPopupclosing.

<radCln:RadDatePicker ID="RadDateOfEvent" runat="server" Width="90px" TabIndex="2"Style="z-index: 104;">
    <ClientEvents OnPopupClosing="onDateTimeSelected" />
    <DateInput TabIndex="2"></DateInput>
    
<Calendar TabIndex="2" AccessKey="Q"></Calendar>
</radCln:RadDatePicker>

If there could be a client event like OnPopUpOpened , then also i can write a javascript to move focus to calendar pop up. But we only have OnPopupOpening and this doesn't work as we can't move focus before the control is displayed.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Jun 2008, 10:40 AM
Hi ankool,

Please take a look at the following KB article that elaborates on setting focus to the calendar control directly.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Leonardo
Top achievements
Rank 1
answered on 18 Feb 2016, 04:49 PM
The link is dead.
0
Eyup
Telerik team
answered on 23 Feb 2016, 08:39 AM
Hi Leonardo,

Could you elaborate on your specific requirement so we can prepare a sample configuration to match it?

Regards,
Eyup
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
ankool
Top achievements
Rank 1
Answers by
Steve
Telerik team
Leonardo
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or