Skip to content
Advertisement

Blazor Server-side Restart the app @onclick event

Blazor Forms Calculator that takes inputs and calculates numbers. At the end I have two buttons, Download PDF (with the results) and New Calculation that will restart the application.

JavaScript

Can I do that with the @onclick event or call a Javascript function?

Advertisement

Answer

I have used Navigation Manager and have navigated the app on the Index page

JavaScript

calling it on click

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement