I try to reload the current page from the MainLayout.razor.cs with the goal not to reload the MainLayout or better to reload a RadzenDataGrid Component in a Page from the MainLayout.razor.cs.
I have tried
- StateHasChanged(); <- Nothing happens
- Navigation.NavigateTo(Navigation.Uri); <- Nothing happens
- Navigation.NavigateTo(Navigation.Uri, forceLoad: true); <- Reload, but with MainLayout
- Navigation.Refresh(); <- Nothing
- Navigation.Refresh(forceLoad: true); <- Reload, but with the MainLayout.
In the moment i use:
Navigation.NavigateTo("/");
Navigation.NavigateTo(previous page);
It works but it is not sexy:) Is there a way to reload the page or the RadzenDataGrid from the MainLayout.razor.cs?