Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

C# Blazor Server - StateHasChanged() is not refreshing current component [closed]

$
0
0

It's exactly as the title says.

The StateHasChanged() method has no effect, and I cannot progress because of it.

private async Task Refresh(){    await base.InvokeAsync(this.StateHasChanged);}

The component's HTML is not re-rendered, and code sections of the HTML are not called as I have set breakpoints, and they are currently not hit.

Please can someone help?

Thanks!


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>