C#C
C#3y ago
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.
Was this page helpful?