You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a web application integrated into a WPF application using WebView2. My web application consists of two pages: the first page is the landing or default page located at "localhost/ABC/Search," and the second page is "localhost/ABC/Add."
In my WPF application, when a specific event occurs, I'm performing the following actions:
After executing this code, the application first redirects to the default page ("localhost/ABC/Search") for a few seconds before finally redirecting to the destination URL.
Is there a way to prevent or override the initial redirection to the default page and directly navigate to the destination URL?
Let me know if you have any questions or need further clarification.
The text was updated successfully, but these errors were encountered:
Hey @mukulnuance1234 - How are you setting the "default" page to "Search"? Are you navigating there manually or setting the Source property? If you are setting Source, you can probably remove that and use WebView2.EnsureCoreWebView2Async instead to initialize the control without navigating to "Search".
I have a web application integrated into a WPF application using WebView2. My web application consists of two pages: the first page is the landing or default page located at "localhost/ABC/Search," and the second page is "localhost/ABC/Add."
In my WPF application, when a specific event occurs, I'm performing the following actions:
After executing this code, the application first redirects to the default page ("localhost/ABC/Search") for a few seconds before finally redirecting to the destination URL.
Is there a way to prevent or override the initial redirection to the default page and directly navigate to the destination URL?
Let me know if you have any questions or need further clarification.
The text was updated successfully, but these errors were encountered: