Tabbing between datepicker button and calendar

4 posts, 0 answers
  1. ankool
    ankool avatar
    50 posts
    Member since:
    Apr 2007

    Posted 04 Jun 2008 Link to this post

    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.

  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Jun 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Leonardo
    Leonardo avatar
    1 posts
    Member since:
    Feb 2016

    Posted 18 Feb in reply to Steve Link to this post

    The link is dead.
  5. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 23 Feb Link to this post

    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
Back to Top