Skip to content

Specifying a target frame name when using NavigateWithWebResourceRequest #1105

Open
@TRCarbone

Description

@TRCarbone

I'm updating a WinForms application to use the WebView2 control instead of the WebBrowser control .

With WebBrowser, the code is calling Navigate with a target frame name. Now I need an equivalent using WebView2.

I'm constructing and navigating as follows:

var request = f.webView2.CoreWebView2.Environment.CreateWebResourceRequest("mytargeturl", "POST", streamofPostData, "Content-Type: application/x-www-form-urlencoded");
f.webView2.CoreWebView2.NavigateWithWebResourceRequest(request);

There does not seem to be a way to specify the target frame. Is this a feature that needs to be implemented?

AB#32257699

Metadata

Metadata

Assignees

Labels

feature requestfeature requesttrackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions