We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Unable to received click event on Toolbar

Here my sample :

@inherits LayoutComponentBase
@inject IJSRuntime JSRuntime
    .e-indent-icon:before {
        content: "\e70b"
<EjsSidebar ID="sidebar" ref="sidebar" Type="SidebarType.Over" CloseOnDocumentClick="true">
        <div class="title"> Sidebar content</div>
<EjsToolbar id="toolbar" Clicked="@OnToolbarClicked">
        <ToolbarItem Type="ItemType.Button" TooltipText="SideBar" PrefixIcon="e-indent-icon tb-icons" />
    // References
    EjsSidebar sidebar;
    public void OnToolbarClicked(ClickEventArgs args)

When clicking on the toolbar button, the sidebar never show.


1 Reply

BF Brice FROMENTIN May 29, 2019 08:17 AM UTC

This is fixed on the latest beta.


Live Chat Icon For mobile
Up arrow icon