Hi. I'm new to RadzenBlazor and Blazor in general. How come the RadzenPanelMenu doesn't expand and collapse inside a layout? I'm pretty sure I followed the instructions on the Get Started page.
Here's what my MainLayout.razor looks like:
Hi Korchev! Yes. That's what I've followed. But even though I followed the Get Started instructions, some components don't seem to work. The get started page said to add <RadzenComponents @rendermode="InteractiveServer" /> in MainLayout.razor so I have this code below:
I strongly recommend checking the linked article about render modes. Your layout is clearly not interactive and neither is the RadzenPanelMenu. Without interactivity components will not be interactive. It is mentioned at the start of the getting started article.
In general the easiest option is to create your Blazor app with global interactivity enabled if you plan to use interactive blazor components.
Yes, this is what is known as "global interactivity". Probably we should mention it in the getting started docs as well as a lot of people struggle with enabling interactivity at the right place (not to mention that interactive components can't have any child content set).