847 questions
0
votes
1
answer
48
views
How to get results from an async Javascript script using C# and Microsoft WebView2 control?
I have the following Javascript script:
async function getIPAddress() {
var thisFuncName = arguments.callee.toString().match(/function ([^\(]+)/)[1];
var retValue = {
'Result': true,
...
1
vote
2
answers
91
views
Trouble using WebView2 in LinqPad
I need to write a LinqPad program that uses WebView2.
I have installed the nuget package Microsoft.Web.WebView2 version 1.0.3179.45 (latest) but I can't get the program to work.
After installing the ...
0
votes
0
answers
19
views
How to avoid ValidProxyAuthenticationRequired web error status while authenticating to a proxy server in Microsoft Edge WebView2 control
I have the following C# code to initialize and to use a proxy server with Microsoft Edge WebView2 control (v.1.0.3179.45):
var proxyAddress = ...
var proxyPort = ...
var proxyUserName = ...
var ...
0
votes
1
answer
34
views
WebView2CompositionControl displays content blurred
I'm using a WPF WebView2CompositionControl to display an instance of Monaco Editor, but the content is blurry.
At first I used the WebView2 control but this control has the issue that it is always ...
-4
votes
0
answers
60
views
Problem displaying image and PDF in a WPF application with WebView2 - Image/PDF exceeds the container when scrolling
I'm developing a WPF application and I'd like to display media, either a PDF or an image. To do this, I chose to use WebView2. Everything worked fine until I started scrolling the page. When scrolling,...
0
votes
0
answers
107
views
WebView2 navigation to about:blank and file URL happening simultaneously — navigation to file URL aborted in specific environments
I have a C# Winforms application that uses the WebView2 browser. The form contains a grid and a browser view. Whenever a user changes the selected row in the grid, new data is fetched, and an HTML ...
0
votes
0
answers
113
views
How to work with WebView2 (WebView4Delphi) content of another Delphi process?
I'm looking to access to WebView2 of another process that uses WebView4Delphi (https://github.com/salvadordf/WebView4Delphi) component. The goal is to fill the form loaded to its browser component and ...
0
votes
1
answer
42
views
Understanding %temp%\.net Folder
When developing a single file self-contained WPF application using .NET 8 that uses the WebView2 component, a folder is created under %temp%\.net while the application is running.
What is the purpose ...
0
votes
0
answers
33
views
WebView2 inside a DevExpress FlyoutPanel does not render correctly after changing FlyoutPanel Height
I have the follwing app.
public partial class Form1 : Form
{
private Microsoft.Web.WebView2.WinForms.WebView2 mBrowser = new Microsoft.Web.WebView2.WinForms.WebView2();
public ...
0
votes
0
answers
22
views
Is there a way to have a WiX installation package mimic the behavior of Visual Studio's deployment?
I've built out a winforms application in Visual Studio that utilizes the WebView2 control. When I deploy the application to one of my users via publishing directly to their computer, the application ...
0
votes
0
answers
27
views
Webview2 and ajax requests?
I have a 3rd party desktop application. This application allows one to add extensions based on html, css and javascript. I have such extension and they work fine in the current installed version of ...
0
votes
0
answers
53
views
Conditional Access Policy Blocking Compliant Device in WebView2
We have set a compliance policy in MS Entra to require that only devices that are registered and compliant with our email tenant can access our WebView2 email application. Prior to creating and ...
-1
votes
1
answer
119
views
WPF: WebView2 is always on top [closed]
I am playing around in WPF and want to display a PDF file. For that, I use WebView 2. It displays my file without a problem.
The only problem I am facing with it is that it stays on top of every other ...
-4
votes
1
answer
58
views
WebView2 not showing content from string
I'm trying WebView2 control in WinUI 3 with C++/WinRT to show a content from an string like this:
std::string htmlContent = R"(
<html>
<body>
<h1>Hello world!<...
0
votes
1
answer
65
views
Edge WebView Change the language of the webview interface, e.g. context menus with visual basic
I have a diy webbrowser (WebConnect for Windows) and it is running on the Edge WebView2. I would like to change the language of the microsoft edge webview. For example that the context menu, the ...