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

What is the most efficient way of chaging the Blazor NavMenu according to the web page we are in?

$
0
0

I was needing a way to display certain options on the Blazor NavMenu according to the webpage i was in.

There is a similar question on StackOverflow that helped me out archieving this

Exchange Data between Page and NavMenu in Blazor

But I wanted a specific topic on how to do this(Dynamic NavMenu according to the page) and i'll post my solution to get some feedback if this is the correct way of doing it and also to help others with the same doubt. The following article helped me a lot too:

https://chrissainty.com/3-ways-to-communicate-between-components-in-blazor/


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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