Questions tagged [dotnetbrowser]

Use this tag for questions about DotNetBrowser, a Chromium-based control which allows .NET applications to display web pages.

Definition:

DotNetBrowser is a .NET Library which allows embedding a Chromium-based control into .NET applications to display modern web pages built with HTML5, CSS3, JavaScript, etc. DotNetBrowser supports both WPF and WinForms .NET graphical subsystems and provides WPF/WinForms UI controls which you can embed into your .NET Desktop Application to display web pages.

Main features:

  • WPF / WinForms Control
  • Display Web Accurately
  • HTML5, CSS3, JavaScript Support
  • Multi-Process Architecture
  • Browser Events Listeners
  • JavaScript Dialogs Handler

A full list of features can be found here: https://www.teamdev.com/dotnetbrowser#features

System requirements:

Microsoft Windows

  • Windows 10, 8, 8.1 & 7
  • Windows Server 2016, 2012 & 2008 R2

Microsoft Visual Studio

  • 2013, 2015 & 2017

.NET Framework

  • 4.0 or higher

More info & reading:

Code example:

WinForms:

BrowserView browserView = new WinFormsBrowserView();
Controls.Add((Control) browserView);
browserView.Browser.LoadURL("http://www.google.com");

WPF:

<Grid Name="mainLayout">
</Grid>

webView = new WPFBrowserView(BrowserFactory.Create());
mainLayout.Children.Add((UIElement)webView.GetComponent());
webView.Browser.LoadURL("http://www.google.com");
161 questions
0
votes
0 answers

HTML part is not getting rendered in WPF BrowserView without using waitEvent.waitOne(5000)

We are using DotNetBrowser.dll in WPF application, We have a following question: 1) HTML part is not getting rendered in WPF BrowserView without using waitEvent.waitOne(5000). We have tried to load HTML on both events: a) onCompleted b)…
0
votes
1 answer

How to fix unwanted focus switching on loading a dotnetbrowser instance in a winform app

Issue I have a very complex winforms app that occasionally loads a DotNetBrowser component instance to render dynamic web content in one section of the UI. The primary navigation mechanism is a tree control and when a node of that tree is selected…
lje
  • 413
  • 5
  • 16
0
votes
1 answer

How to get Captcha image from DotNetBrowser Control c# and set to pictureBox

I am using DotNetBrowser Control in my c# desktop application. I am not able to get captcha image using this. It is easy in Webbrowser control but in DotNetBrowser I don't know how to do so in…
0
votes
1 answer

DotNetBrowser is not rendering print accordingly on Chrome

I have an WebApi that needs to generate some PDF based on the data that some customer filled in and send back to him by e-mail (on a beautiful pdf form). We decided to use DotNetBrowser to do it. Once everything was already made in HTML. We…
Rodrigo Souza
  • 147
  • 1
  • 1
  • 10
0
votes
1 answer

Can I save only one DomElement to jpg use DotNetBrowser?

in Documentations, I find How to save the full page - link to article but for me need save only one element from page to jpg It's really? How can I do it with DotNetBrowser?
0
votes
1 answer

Open link in new tab (dotnetbrowser winforms)

I using teamdev-dotnetbrowser in winforms. Also I using Tab Control. How to open link in new tab when clicked Ctrl + mouse left click or mouse wheel click. Please help me!!!
0
votes
1 answer

dotnetbrowser - chromium version upgrades

I am evaluating embedded Chromium browser for .NET app and close to making decision on dotnetbrowser. the only catch is that it is built of Chromium 64. Does anyone know the frequencies of Chromium uplift that is done by dotnetbrowser? I don't want…
Dhawalk
  • 1,257
  • 13
  • 28
0
votes
1 answer

Read a value from page loaded in DotNetBrowser

I'm trying to write some values to a login form, submit it, and then grab some data on the results page using DotNetBrowser in a c# project, but for some reason, I cannot seem to get at the resulting text. Filling and submitting the form works fine,…
Jon Jaques
  • 21
  • 3
0
votes
1 answer

dotnetbrowser - how to save specific image c#

How to save in file a specific tag image of the site loaded inside the dotnetbrowser without get image from url? C#. Like: e.Browser.GetDocument().GetElementByName("imgA")).Save("C:\aaaa.jpg");
0
votes
1 answer

browsercore32 processes not getting cleared in Dotnetbrowser

I'm using dotnetbrowser control in Windows form application. I've following requirement Display browser content in Windows form pop up User interacts & click on finish button within rendered application This event is captured using status event…
0
votes
1 answer

DotNetBrowser use GET instead of POST when using customer headers

I'm using the WPF version of the DotNetBrowser control. Currently when calling the LoadURL(string url) method, the browser is invoking the request using the GET verb (as expected). In my case, I need to add some custom HTTP headers in the request so…
0
votes
1 answer

dotnetbrowser Calling .NET from JavaScript - ThreadProblem

[dotnetbrowser] Calling .NET from JavaScript - ThreadProblem i am using vb net , vs 2017 and WPF, no mvvm. My Wpf Mainwindow contains a dotnetbrowser-Webbrowser control (evaluation only). Looks this way:
teenriot
  • 13
  • 2
0
votes
3 answers

DotNetBrowser WinFormsBrowserView opening in tiny window within form

I followed the getting started tutorial for WinForms (https://dotnetbrowser.support.teamdev.com/support/solutions/articles/9000056958-quick-start-guide-for-winforms-developers). I am using VS 2017 and .NET 4.6.1 Everything works great, but the…
0
votes
1 answer

Can i get mouse Coordinates from DomEventArgs using WPF

The goal is to indicate InputSimulator.SimulateMouseMoveEvent to user. So, i need to get coursor position on document on every move event, iam using EventListener with DOMEventType.OnMouseMove. But can`t get if DOMEventArgs contains MouseEvent…
0
votes
1 answer

Loading URL Synchronously not working correctly

How setup Wait timeout? I have page that renders dom, and next - page send several ajax requests. Dotnetbrowser think that page finished loading, but network requests still raises. BrowserView browser= new…
user1088259
  • 345
  • 13
  • 34