Set first control focus in pageview when RadTab selected

2 posts, 0 answers
  1. Andrew Zhao
    Andrew Zhao avatar
    11 posts
    Member since:
    Mar 2010

    Posted 22 Jun 2010 Link to this post

    I have a RadTabStrip control in which contails multiple RadTabs associated with the RadPageView. In each pageview, there are several web controls like textbox, checkbox. To support keyboard accessibility, when RadTab is selected by pressing enter key, a pageview is shown, and the first control in pageview needs to be set on focus for user to enter input. But so far, you have to tab through all RadTabs and then get focus on the controls in pageview. How can I change the tab order to the controls in pageview when the RadTab is selected?
  2. Yana
    Yana avatar
    5043 posts

    Posted 25 Jun 2010 Link to this post

    Hello Andrew,

    I suggest you subscribe to OnClientTabSelected event of the tabstrip and in its handler:

    function tabSelected(sender, args) {

    Note that focusable controls should be the first controls in the pageviews.

    Kind regards,
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top