Forum Discussion
Gavin-Williams
Feb 26, 2023Brass Contributor
Convert the standard Blazor navigation menu to a collapsible icon menu
While I admittedly love Blazor I’ve always changed the out-of-the-box navigation menu that comes with it. It’s the first manoeuvre I pull when spinning up a new Blazor app, stripping out the purpl...
Checho1965
Nov 29, 2023Copper Contributor
This code does not work with .Net 8. Can you share the project?
GraemeWellington
Dec 20, 2023Copper Contributor
I have encountered this problem also when using '@onclick'.
in .Net 8 I think this to do with render modes.
I added the following to the top of my razor page in my Blazor Web app and the onclick worked:
@rendermode InteractiveServer
In the solution you get 2 projects: the Web and the Client - the above goes in the Web project.