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
8
votes
1 answer

DotNetBrowser vs CefSharp Comparison

I'm considering moving a project into an embedded WebView type architecture in a WinForm application and am considering DotNetBrowser and CefSharp. After many searches I can't seem to find any comparison between the capabilities of the free CefSharp…
frigon
  • 4,979
  • 7
  • 32
  • 38
5
votes
0 answers

DotNetBrowser: Switch between tabs

How to switch between current opened tab to a new tab opened after clicking on a button, using dotnetbrowser? Is it possible? I'm trying to download a PDF file from a page, that is displayed on a new tab after clicking on a button on the home page.…
PamelaTabak
  • 187
  • 1
  • 8
3
votes
1 answer

DotNetBrowser: The assembly containing the binaries was not found in any of the lookup locations

I'm trying to use DotNetBrowser, but I'm getting an error: Unable to find or restore compatible Chromium binaries. The assembly DotNetBrowser.Chromium.Win-86.dll containing the binaries was not found in any of the lookup locations I think it's…
3
votes
2 answers

Why is this System.InvalidOperationException's target backwards?

I'm using DotNetBrowser and currently when I close my application I get the error System.InvalidOperationException in DotNetBrowser.dll (Channel is already closed). When attempting to debug why this was occurring, I opened up the exception's details…
Mr Awesome8
  • 281
  • 4
  • 10
3
votes
3 answers

dotnetbrowser touch events in heavyweight mode not passed to wpf

I'm currently developing and Wpf-Application with DotNetBrowser library. So the target is a kiosk software. I do have to use the BrowserType.HEAVYWEIGHT type cause our webapp which is loaded with the control only works correctly with this type. On…
DotNetDev
  • 205
  • 1
  • 10
3
votes
2 answers

Browser.GetRemoteDebuggingURL() of DotNetBrowser returns string.Empty

I set up an Winform-Application (in future it will be WPF) with the DotNetBrowserControl BrowserView browserView = new WinFormsBrowserView(BrowserFactory.Create(BrowserType.HEAVYWEIGHT)); Controls.Add((Control)m_BrowserView); string…
DotNetDev
  • 205
  • 1
  • 10
3
votes
2 answers

DotNetBrowser: Is there any way to use browser extensions?

I'd like to create a custom browser using DotNetBrowser, is there any support or hacks to enable using Chrome/Firefox/Opera extensions? I know a lot of extensions deal with browser specific UI elements that would not be possible to emulate, but some…
user4159962
2
votes
1 answer

how to detect and open link in new tab/window/winform in DotNetBrowser

I using DotNetBrowser and want to open link in new window/winform/tab when click on link however when we click on any link DotNetBrowser open them in current window I know i should override DotNetBrowser events however i don't know which event, Also…
2
votes
0 answers

DotNetBrowser: How to use multiple IEngine?

I'm having trouble using multiple DotNetBrowser IEngine instances at once. Whenever I try to use more than one at a time, they conflict, even though I have already defined different folders for each one. Follow the code I'm using. public void…
Caio Ruiz
  • 21
  • 1
2
votes
1 answer

How can take parent iframe as IElement using DotNetBrowser?

I need write function for take real top and left element in window. In DotNetBrowser we can take coordinates: int Y = el.BoundingClientRect.Origin.Y; int X = el.BoundingClientRect.Origin.X; but its give no real coordinates if element into iframe. I…
2
votes
1 answer

How can I block loading remote content in DotNetBrowser?

I'm using the DotNetBrowser in my WPF emailing application to display the emails content. I'd like to block every remote content and remote images. I use this email privacy tester to check if I can correctly block the remote content. I checked the…
Attila Szász
  • 707
  • 4
  • 22
2
votes
1 answer

DotNetBrowser Rpc Call Timed Out

We recently upgraded from the 1.x version of the DotNetBrowser control to 2.1 and during regression testing, we ran into a new exception in our Citrix environment and we are unable to display the browser. We are using a BrowserView and have set the…
2
votes
1 answer

DotNetBrowser : Simulating Click

How to simulate clicking using dotnetbrowser on an element that doesn't have the "onclick" tag, only "event-action"
2
votes
1 answer

How to handle authorization with DotNetBrowser user control?

I could't figure out loading urls that requires authentication with DotNetBrowser control. IE and Chrome browsers display a dialog and asks for a user name and a password. But DotNetBrowser displays the text below : HTTP Error 401 - Unauthorized:…
Can
  • 55
  • 7
2
votes
1 answer

DotNetBrowser - Supported OS

I have read the system requirements of DotNetBrowser. But I cannot understand what is the reason for using the minimal version of .net 4.0 and at the same time the inability to run the browser in Windows Server 2008 sp2 (x86) or Vista which support…
Alexander
  • 21
  • 2
1
2 3
10 11