Unplanned
Last Updated: 17 Aug 2024 09:20 by Roger
Created by: matt
Comments: 1
Category: PanelBar
Type: Feature Request
5
Currently, the PanelBar does not have a concept for selection. When I click on an item, it looks like "selected" due to the background but there is no way I can save that selection or set it programmatically if I need to retrieve the selected state at some point.
Completed
Last Updated: 06 Dec 2022 09:38 by ADMIN
Release 4.0.0 (18 Jan 2023) (R1 2023)
Created by: Shawn
Comments: 0
Category: PanelBar
Type: Bug Report
1

I have a panel bar and I have components in those panels bars and some of them have text boxes I noticed that when I am entering text in those and hit enter the space bar the panel collapses, is there a way to prevent this?

===Admin Edit===
The issue stems from the fact the keydown bubbles out of the item content template. While waiting for a fix, a workaround would be to manually stop the propagation of the keydown.

<TelerikPanelBar Data="@Items">
    <PanelBarBindings>
        <PanelBarBinding>
            <ContentTemplate>
                @{
                    var item = context as PanelBarItem;
                    <div onkeydown="stopPropagation(event)">
                        <TelerikTextArea @bind-Value="item.Text"></TelerikTextArea>
                    </div>
                }
            </ContentTemplate>
        </PanelBarBinding>
    </PanelBarBindings>
</TelerikPanelBar>

@* move this script to a separate file in production *@
<script suppress-error="BL9992">
function stopPropagation(e) {
    e.stopPropagation();
}
</script>

@code {
    public List<PanelBarItem> Items { get; set; }

    public class PanelBarItem
    {
        public string Text { get; set; }
        public List<PanelBarItem> Items { get; set; }
    }

    protected override void OnInitialized()
    {
        Items = new List<PanelBarItem>()
        {
            new PanelBarItem() { Text = "Item 1" },
            new PanelBarItem() { Text = "Item 2" }
        };
        base.OnInitialized();
    }
}

Duplicated
Last Updated: 15 Nov 2023 12:31 by ADMIN
Created by: Rick
Comments: 1
Category: PanelBar
Type: Feature Request
3
While I find that many of your controls are useful; the ones I really want to use.  Accordion, Drawer, and Menu are limited to being data bound only.  I would really like the ability to make items in a declarative format.  Can you please consider this for future builds?
Completed
Last Updated: 30 Jun 2022 08:03 by ADMIN
Release 3.5.0
Created by: Srinivasan
Comments: 0
Category: PanelBar
Type: Feature Request
0

Currently, it is possible to expand or collapse PanelBar items programmatically.

There should be a way to prevent a specific PanelBar item from collapsing or expanding.

Please expose cancellable OnExpand and OnCollapse events similar to other components. This will give developers the ability to apply custom interaction based on their scenario.

Completed
Last Updated: 02 Sep 2022 10:38 by ADMIN

I am testing them out of the box with NVDA and JAWS screen readers and running into issues with how they are read. I believe part of the issue is how the aria attributes are being rendered on the controls.

Enable the NVDA screen reader. Then try to navigate first with "alt + w" then click "enter" or "space". The PanelBar dropdown will not open.

Unplanned
Last Updated: 02 Aug 2021 12:25 by ADMIN
Created by: Diana
Comments: 0
Category: PanelBar
Type: Feature Request
1
I want to set the height of my panelbar and have longer content scroll.
Completed
Last Updated: 13 Dec 2022 06:29 by ADMIN
Release 2.28.0

Hello,

Some keyboard shortcuts do not work inside PanelBar ContentTemplate. For example, when any text input control (TelerikTextBox, TelerikComboBox, etc.) exists inside the ContentTemplate of a TelerikPanelBar, the input will no longer accept space characters and certain other keyboard input such as arrow keys. 

This is very easy to reproduce.  Here is a simple example:

<div>
    <TelerikPanelBar Data="@Items">
        <PanelBarBindings>
            <PanelBarBinding>
                <ContentTemplate>
                    @{
                        var item = context as PanelBarItem;
                        <div>
                            <TelerikTextBox @bind-Value="item.Text"></TelerikTextBox>
                        </div>
                    }
                </ContentTemplate>
            </PanelBarBinding>
        </PanelBarBindings>
    </TelerikPanelBar>
</div>

@code {
    public List<PanelBarItem> Items { get; set; }

    public class PanelBarItem
    {
        public string Text { get; set; }
        public List<PanelBarItem> Items { get; set; }
    }

    protected override void OnInitialized()
    {
        Items = new List<PanelBarItem>()
    {
            new PanelBarItem() { Text = "Item 1" },
            new PanelBarItem() { Text = "Item 2" }
        };
        base.OnInitialized();
    }
}