Completed
Last Updated: 04 Sep 2024 10:32 by ADMIN
Release 2024 Q4 (Nov)

Programmatic changes to the Overflow parameter of ToolBar items do not take effect until the user resizes the browser window. This is because the internal item collections are updated only during initialization and window resize.

A possible workaround is to recreate the ToolBar items when making changes to them.

Test Page with the workaround:

<TelerikToolBar Adaptive="true">
    @if (ShouldRenderToolBarItems)
    {
        <ToolBarButton>Foo</ToolBarButton>
        <ToolBarButton Overflow="@PrintOverflow">Print</ToolBarButton>
        <ToolBarButton>Bar</ToolBarButton>
    }
</TelerikToolBar>

<TelerikButton OnClick="TogglePrint">Toggle Print</TelerikButton>

@code {
    private ToolBarButton printButton = default!;
    private TelerikToolBar toolbar = default!;

    private ToolBarItemOverflow PrintOverflow { get; set; } = ToolBarItemOverflow.Auto;

    private bool ShouldRenderToolBar { get; set; } = true;
    private bool ShouldRenderToolBarItems { get; set; } = true;

    private async Task TogglePrint()
    {
        // Uncomment to enable the workaround
        //ShouldRenderToolBarItems = false;

        await Task.Delay(1);

        if (PrintOverflow == ToolBarItemOverflow.Always)
        {
            PrintOverflow = ToolBarItemOverflow.Auto;
        }
        else
        {
            PrintOverflow = ToolBarItemOverflow.Always;
        }

        ShouldRenderToolBarItems = true;
    }
}

Completed
Last Updated: 05 Aug 2024 13:30 by ADMIN
Release 6.1.0

The "Bold" button in the code snippet below remains visible despite the fact that it's Visible property is false

<TelerikToolBar>

    <ToolBarButtonGroup>
        <ToolBarButton Icon="@SvgIcon.Bold" Visible="false">Bold</ToolBarButton>
        <ToolBarButton Icon="@SvgIcon.Italic">Italic</ToolBarButton>
        <ToolBarButton Icon="@SvgIcon.Underline">Underline</ToolBarButton>
    </ToolBarButtonGroup>
</TelerikToolBar>

 

Completed
Last Updated: 21 Mar 2023 14:05 by ADMIN
Release 4.2.0 (26/04/2023)
If I have a ToolBarItem set to Overflow.Auto and vertically shrink the screen the item is duplicated both in the Overflow popup and in the visible portion of the toolbar. 
Completed
Last Updated: 06 Dec 2022 09:38 by ADMIN
Release 4.0.0 (18 Jan 2023) (R1 2023)
Created by: Rick
Comments: 1
Category: ToolBar
Type: Feature Request
1

The ToolBarButton is missing the ability to set the "aria-label".

When attempting to just add it directly, I get the following error:

Completed
Last Updated: 02 Feb 2022 11:01 by ADMIN
Release 3.1.0
Unlike the TelerikButtons, ToolbarButtons do not have appearance settings options - for example ThemeColor, FillMode, Size etc.
Completed
Last Updated: 12 Apr 2022 11:53 by ADMIN
Release 3.2.0
Created by: Marc
Comments: 3
Category: ToolBar
Type: Feature Request
18
  • Missing overflow hamburger functionality. When small devices some item should move to the hamburger overflow.
  • Floating items left or right as on kendo ui toolbar.