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

Blazor Comonents (CascadingValue / DiagramCanvas) are not getting redrawn on change

$
0
0

I am pretty new to Blazor sorry if the question is not very appropriate, but I really tried a lot of the stuff out there.

<RadzenCard Visible="Visible"><div>@Cntxt.Values.FirstOrDefault().BatchId</div><div class="diagram-container"><CascadingValue Value="@Diagram"><DiagramCanvas ></DiagramCanvas></CascadingValue></div></RadzenCard>

This is the Component that I would like to re-render, is there anything specific about CascadingValue or DiagramCanvas, that these elements cannot be rerendered?

I am using BlazorDiagrams and I want to perform re-render of the component.However doesn't matter if I call StateHasChanged, change properties etc.. it never does rerender the component.None of the stuff proposed in Blazor docs are working for me


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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