Last Updated: 19 Oct 2020 08:23 by ADMIN
Release R3 2020 SP1
Chris Vaughn
Created on: 28 Sep 2020 13:09
Category: PanelBar
Type: Bug Report
Unable to Tab out of RadPanelBar if there are no visible, focusable controls inside of it

The issue is replicated when a PanelBar with ContentTemplate is focused and collapsed:

    <a href="#" tabindex="1">Top Link</a>

<telerik:RadPanelBar ID="RadPanelBar1" RenderMode="Lightweight"  runat="server" TabIndex="1">
        <telerik:RadPanelItem runat="server" Text="Apples">
                <a href="#" tabindex="1">Something</a>
        <telerik:RadPanelItem runat="server" Text="Oranges">
                <a href="#" tabindex="1">Nothing</a>
<a href="#" tabindex="1">Another thing</a>

From ADMIN: 

Placing the following script under the ScriptManager can be used as a temporary workaround:


Telerik.Web.UI.RadPanelItem.prototype._moveToNextFocusable = function (e) {
    var $focusableElements;
    var $template;
    var hasTemplate = this.get_templated() || (this.get_hasContentTemplate() && this.get_expanded());

    if (hasTemplate && this.get_focused() && this.get_expanded()) {
        $template = $(this.get_element()).find(".rpTemplate");
        $focusableElements = $template.find("input,a,button,select,textarea").filter(el => !el.hasAttribute('disabled'));
        return false;

    return true;