Hi there,
I'm using Blazor Server App .NET with Radzen 4.30.1
I have used Radzen dialogs which are perfectly working but in the MainLayout, the toggle button has a function on click which is not triggered.
Radzen requried services are included/registered. If dialog is working then function in the mainlayout must be triggered.
Can anyone share experiences?
Hi @Ammaar_Naveed,
You are probably using static rendering mode. In this mode events don't fire - you need to enable interactivity.
That's what I'm using so far
<RadzenSidebarToggle Click="@SidebarToggle0Click" @rendermode="RenderMode.InteractiveServer"/>
I have also tried bootstrap button instead of radzen but it is not triggering the function in MainLayout.
I have following files
MainLayout.razor, MainLayout.razor.cs, MainLayout.designer.razor.cs
I think there's an issue with the blazor app