webbrowser-control

WebBrowser control and pages with AJAX makes UI unresponsive

I've got a winforms application with several WebBrowser controls (the standard MS control using IE). What happens is that the UI gets unresponsive while the WebBrowser is waiting for AJAX-calls to complete. Is there a way around this? ...

Call JavaScript function from .NET Compact Framework in WebBrowser control

Is there anyway to call a JavaScript function from .NET Compact Framework through the WebBrowser control? ...

c# webbrowser control, navigates on dynamic menu hover?

I have a form in my winforms app that acts as a built-in browser. It uses the .net webbrowser control. Pretty simple. I have a textbox as an address bar, and buttons for control. When I navigate to my website, my website uses a .net menu control to present a hover menu. When I hover over the menu (using my browser form), the address bar ...

WPF WebBrowser Control - no LinkClicked event

Hi there Does someone have know how to trap clicks on Links in the WPF WebBrowser Control? I need to get the links target, when the link is clicked, before the Page is navigating. Any inputs highly appreciated! My solution in Code As proposed for simple Links this would be achieved with the following code: private void webBrowser1_N...

Problem with MSHTML COM clicking on submit button

I'm having a problem screenscraping some data from this website using the MSHTML COM component. I have a WebBrowser control on my WPF form. The code where I retrieve the HMTL elements is in the WebBrowser LoadCompleted events. After I set the values of the data to the HTMLInputElement and call the click method on the HTMLInputButtonEleme...

can app containing WebBrowser control download files automatically by spoofing browser behavior?

suppose I want to automatically download a file from url that is located inside an authentication-required website into which I login using automated WebBrowser control based on Internet Explorer. But, once I am there and grab the link to the file, if I try to download it directly via IE6 by navigating to it, there will be the "do you wa...

Windows Phone 7 WebBrowser control swallows manipulation events?

If I place a WebBrowser control on any page, the page no longer responds to manipulation events under the WebBrowser. Other areas of the page work fine. It's easily confirmed by overriding OnManipulationCompleted in a page, then placing a WebBrowser control on the page. Try swiping over the WebBrowser, and OnManipulationCompleted is nev...

How to wait until WebBrowser is completely loaded in VB.NET?

I have a WebBrowser Control in my VB.NET application. Now the it browses through many URLs (may be 10 - 20) and I want that each of the page HTML saved in text file. Now the thing is that when I write the HTML of page in file, it does not write the HTML of current page rather than the initial one because it calls the event before even th...

InternetSetOption deadlock?

I have an application which uses Webbrowser control to navigate to a few vendor sites and scrape reporting. Because there are several accounts with one vendor, I need to have the browser end its session and clear any set cookies. I am using API calls to wininet.dll for both and am able to achieve the desired result. However, intermitte...

Freezing Network Stack

I want to send out page requests from a browser window as fast as possible to test website responsiveness but don't have any idea how to do it. On the receiving end is a server that will be getting multiple packets but in order to insure that they are being processed in an FIFO manner I want to send them as close to one another as possi...

Losing ASP.Net Session in popup window from Windows Forms Web Browser Control

I'm using Web Browser Control in a windows form (vb.net) to display one of our website (ASP.NET) as a part of the windows application. Everything works fine, but when I've a popup window from the website page, I'm loosing the ASP.Net session. I've used extended version of web browser control to have Navigate2 event to catch the popup win...

Programmaticly make clicks on a webpage

There is a onmousedown event on a webpage. I want to be able to have this event called from my app and have the WebBrowser object move to that page. How can I achieve this? ...

How to fit page to Silverlight WebBrowser control?

Hello. I use WebBrowser Silverlight 4 control to load some page: <WebBrowser Height="350" Name="webBrowser" Width="400" /> ... webBrowser.Navigate(new Uri("http://mail.live.com")); But page loads with horizontal and vertical scroll bars. So I'm trying to find some ways to get actual size of loaded page (then I can change Height/Width...

SSL/TLS/HTTPS sites are very slow in a C#/.NET WebBrowser control, but fine in Internet Explorer

Background I'm modifying AutoWikiBrowser to work with a MediaWiki site hosted on a secure server. I allow the user to login manually via a WebBrowser control in a C# application, and then save the stored cookies for use in HttpWebRequest's. The Problem The problem I'm having is that any site which uses SSL/TLS (https:// urls) takes an...

Handling Application abandonment

I have an application that spans several pages of engagement for the applicant and I don't want the user to abandon prematurely. Without hijacking the back and forward buttons (I think most of this forum would agree is a bad practice) I have a set of eventhandlers leveraging onbeforeunload that handle some of the typical use cases wher...

Controlling Browser using Python?

Is it possible to control a web browser like Firefox using Python? I would want to do things like launch the browser force clicks on URLs take screenshots etc. ...

How can I programmatically send events to Qt's webkit?

I would like to create a specialized browser that can enter certain information semi-automatically into pages that are browsed. I am using for this Qt Webkit (in particular the python bindings). How can I do this? ...

System.Windows.Forms.WebBrowser seems to be disabling java script?

Hi all, I've got a problem with System.Windows.Forms.WebBrowser On every machine, with the exception of one, it works fine, but on this one machine JavaScript seems to get disabled on the page that the control is trying to render. I've gone through every system setting I can find relating to it and told it to allow JavaScript, but no ...

Disable Text Selection in Chrome

I am building a touchscreen kiosk that will use Google Chrome to display the content. There is no keyboard except for a virtual keyboard that will pop up for entering name info on certain screens. Nowhere on the kiosk will a user need to select anything. When I place my finger anywhere on the screen and drag it around, the blue selecti...

Is it possible to transfer authentication from Webbrowser to WebRequest

I'm using webbrowser control to login any site. And then i want to download some sub page html using WebRequest (or WebClient). This links must requires authentication. How to transfer Webbrowser authentication information to Webrequest or Webclient? ...