How do you call a Razor component when selecting an item when using a Sidebar Component in the OnSelect event? The Sidebar examples that I got were to display info on the main page, but I want to call a different Razor component as in the standard Blazor NavMenu.
See the code below.
public void OnSelect(NodeSelectEventArgs args)
{
if (args.NodeData.Text == "Application Status")
{
// Want to call a Razor component named "ApplicationStatus" from here.
// I have tried <ApplicationStatus></ApplicationStatus> but is getting a build error
}
}