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!

Developer technologies | Windows Forms
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C#
0 comments No comments
{count} votes