Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
navigation in blazor uri helper after http call is navigating to same page with "?" #1799
I am trying to navigate to another page in onclick event after a http service call, but i am unable to navigate, instead it is loading the same page with "?" appended at the end.
My onclick event is as follows
in the output I am getting
In the above code if i remove service call and assign a static value to isvalidpnr, I am able to navigate to the mentioned page.
please let me know what the issue is and how to solve it.
Oh I see - you were submitting the form. Since you don't want to do that, be sure to use type=button.
Also please note that we no longer accept issues posted to this repo. Instead, issues relating to Blazor or Razor Components should be posted at https://github.com/aspnet/aspnetcore