i am making a web application with Blazer and i used radzen Sidebar instead of defulat sidebar but the problem is that i my navmenue is not resposive.is that any way to fix this problem. and that is my code
What I have tried:
that is the code inside my MainLayout Page:
@inherits LayoutComponentBase
<radzensidebar style="scrollbar-track-color:cadetblue">
<navmenu>
<radzenbody class="content px-4">
@Body
and the code inside my navMenue:
@code {
private bool collapseNavMenu = true;
private string NavMenuCssClass => collapseNavMenu ? "collapse" : null;
private void ToggleNavMenu()
{
collapseNavMenu = !collapseNavMenu;
}
}
and finally this is my _host.Cshtml code:
@page "/"
@namespace LedgerGroupCRMApplication.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = null;
}
<title>LedgerGroupCRMApplication
<base href="~/" />
<component type="typeof(App)" render-mode="ServerPrerendered">
<environment include="Staging,Production">
An error has occurred. This application may no longer respond until reloaded.
<environment include="Development">
An unhandled exception has occurred. See browser dev tools for details.
Reload
🗙