© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
7 replies
Kroks

❔ Blazor: Page loads only one time

Hello, I have an account list, each time I press on an account it loads a specific page (account overview). I set the currently selected Account in a Service, so that I can Initialize the Overview in the Overview page for that specific account. However "OnInitializedAsync" does not get triggered each time I navigate to the page, but only once. So that it works for the first account, but not for the second since it does not update. It needs to initialize some values for that specific account before it can render it.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Blazor HubConnectionBuilder Timeouts
C#CC# / help
2y ago
blazor implementing 404 page
C#CC# / help
3y ago
❔ Is it possible to have WPF window hidden until Blazor WebView loads page?
C#CC# / help
4y ago
Time from DateTime in Blazor.
C#CC# / help
3y ago