A community member has associated this post with a similar question:
windows.opener() handling with WebView2

Only moderators can edit this content.

window.opener() with Webview2

Neha 20 Reputation points
2025-01-13T06:33:55.2666667+00:00

In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The NewWindowRequested eventhandler is supporting windows.open() in a new tab (e.handled=true) .But the windows.opener() is not working as expected.Which event handler can I use for implementing this functionality?Thanks in advance!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,238 questions
0 comments No comments
{count} votes