Viewing RadWindow causes TabIndex of dropdown arrow to be set to 0

4 posts, 0 answers
  1. Sean Severson
    Sean Severson avatar
    56 posts
    Member since:
    Aug 2009

    Posted 06 May 2013 Link to this post

    On my webform, I have a radPanelBar that contains a radComboBox with default styling.  After a RadWindow is displayed via client-side code, the TabIndex of the anchor in the RCBArrowCell gets set to 0.  The arrow can now receive the focus.  This results in having to tab twice in order to move the focus from the RadComboBox to the next control.  I am not setting the tabIndex initially or via code.  I also could not determine if this is a stylesheet being applied.

    Thanks for your help.

    Sean Severson
  2. Sean Severson
    Sean Severson avatar
    56 posts
    Member since:
    Aug 2009

    Posted 07 May 2013 Link to this post

    It appears that some other controls have their tabIndex set to 0 after the RadWindow is displayed.  This isn't affecting the tab order for me, though.

    I addressed the tabIndex issue with the RadCombo boxes with the following jQuery..

    $(function () {
        $(".rcbArrowCell a").each(function (index) { this.tabIndex = -1; });
    });

    Sean Severson
  3. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 09 May 2013 Link to this post

    Hello Sean,

    Could you please confirm whether you are facing the tab index issue after applying the provided jQuery workaround?

    I have tried to replicate the twice tabbing problem in order to go to the next control but no avail. I have attached a sample project that shows a RadWindow control when user clicks on the button. Once the RadComboBox got focused, only one click on the Tab button is needed to go to the next control within the RadWindow. Probably you have some other controls on the page or your scenario is different than the attached sample project. Could you please clarify whether you are reproducing that unusual behavior with the attached simplified page?


    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  4. Sean Severson
    Sean Severson avatar
    56 posts
    Member since:
    Aug 2009

    Posted 13 May 2013 Link to this post

    Boyan,

    The tabbing issue isn't with combo boxes inside the rad window.  Rather, it is with combo boxes outside of the rad window.  I modified the code you sent, but was not able to reproduce the issue.  I will have to dig deeper to try to determine what is setting the tabIndex property of my controls to 0.  Until then, the jQuery work around addresses the issue for me.

    Sean Severson
Back to Top