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

Can I prevent navigation in Blazor?

$
0
0

In Blazor Server Side app, is there some javascript involved that performs the actual navigation, e.g. when user clicks a link?I mean something like window.history.pushState(..).

Is it theoretically possible to override that javascript to prevent navigation under some circumstances (when there are unsaved changed on the page, etc.)?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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