webbrowser-control

WebBrowser Control blocking ajax

I'm using webbrowser control embeded in a winform in my C# app to do some scraping. The content I'm looking for is dynamically loaded with ajax. However, when I navigate to the page the content won't load unless I have no other code running. I tried doing while(webbrowser1.isBusy); But that's not helping. I also tried pausing the pro...

Problems Flash(Flex) in .NET WebBrowser component

We have a problem with Flash in the .NET WebBrowser component. At a customer of ours, on half of the computers (150) the candidates can click on a Flex ComboBox but they cannot select anything in the ComboBox. If they click on an item in the ComboBox, the ComboBox closes itself but the item is not selected. A possible idea we have is t...

Does the WebBrowser control in .NET store the previous navigated page?

Does the WebBrowser control in the .NET Framework store the previous navigated page in memory? If it stores the page, I want to delete these pages from memory. How can I do this in C#? ...

External JavaScript Injection

Hi All, I am wanting to find out whether or not it is possible to inject JavaScript into the .NET WebBrowser control from outside the running application? Thanks STW Clarification: I am wanting to know if someone can get hold of the internal process of the wrapped components and manually insert what they like into the "browser" por...

Security features of WebBrowser Control

Does the WebBrowser control have any securtiy features included in it? I mean, if i use the WebBrowser control in an application then would using this browser be any more vulnerable than any normal browser, say IE, to securtiy attacks. Does the WebBrowser control share or use security features of IE? ...

Detecting whether cookies are enabled through IWebBrowser2 Interface

Is it possible to detect whether cookies are enabled in Internet Explorer through the IWebBrowser2 Interface or through some other WebBrowser Control C/C++ interface? I can't see any obvious way to do it, but was wondering whether there is a subtle way. ...

.NET WebBrowser component hanging when loading a new HTML page

Hi, we have embedded the .NET WebBrowser control (actually two in different tabs, if that for some reason may be important) in a dialog and are running into a strange problem. I have not been able to reproduce the problem outside the complete application, so I assume we're doing something with side-effects elsewhere. Because of this, I ...

Display an Adorner over a WebBrowser control

I'm using the System.Windows.Controls.WebBrowser for various things in my app and I've noticed that adorners are cut off when they are supposed to appear over a WebBrowser. I realize that the WebBrowser control is really a wrapper around a COM component and probably renders differently, but I wondered if anyone figured out how to solve ...

WebBrowser Paste

I’m using the WebBrowser control as a html editor in a WinForm application I am building. I have a button which pastes some text into the WebBrowser control which works fine on every machine except 1! Here is the code behind the button click event: Clipboard.SetText("Some text ...") WebBrowser.Document.ExecCommand("paste", False, Nothin...

How to get redirected url in C# WebBrowser Control

I have a webpage that loads, does some calculations and then does a JavaScript redirect to another webpage. It looks something like this: http://www.mysite.com/startpage.html <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> $(document).ready(function() { window.location = "http://www.mynewurl.com"; }); </head> <bo...

How do I submit a form inside a WebBrowser control?

How can I create a program with C# to submit the form(in the web browser CONTROL in windows Apps)automaticlly ? ...

handling Security Messages in .net WebBrowser Control

I am attempting to write a VB.net application which will allow users to create their own widget plugins in html/jscript and i would like to set my own security options in the applications settings allowing users to choose what can run or not eg scripts, flash, activex. I would like to allow activex controls to be used without the window...

Finding the string excluding the html tags.

Can I get the string without the html tags which will be displayed on the webbrowser control ? Like I have String str = "html hello html" then I want to find the string like hello. How can I do that? ...

Render webbrowser control offscreen (or hidden)

I have a small application which embeds webbrowser controls. In that application I have created a popup class. This popup is used to display server generated error messages. I want to be able to resize the popup to suit the message. This is so a short message is not contained in an oversize form and a large message is not in an undersiz...

fire button click event in a webpage rendered in webbrowser control from a winform

I'm accessing a login page rendered in webbrowser control and i need to login to it from code behind. What i'm aiming is to automate the login authentication to the site i'm accessing. I'm using C#.net. please help.. Thanks, jepe d hepe ...

WebBrowser Control in a web application

I tried to use the WebBrowser control in an ASP .NET application: public BrowserForm() { webBrowser1 = new WebBrowser(); webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted); } private void webBrowser1_DocumentCompleted(Object sender, WebBrow...

Allow/Block Cookies in WinForms Webbrowser Control

How can i set the Windows Forms webbrowser control to block or allow cookies for the site it will navigate? ...

how does pastie or any other site remember browser info

I am trying to make a simple experimental app. I'd like for it to behave like pastie. On pasite you can paste code and it will remember your browser. So if you paste the url (that pastie provides) in the same browser then you'll be able to edit the page. Everyone else will not see the edit link. Basically there is no registration or...

webbrowser control c# find occurance of the following text

i would like to do a test to see if the following text shows up on my webbroswer control <form method="post" action=""><table border="0" class="formPage"><tr><td colspan="2" class="msg">Link submitted and awaiting approval.<br />Submit another link.</td></tr> Im looking for the text "Link submitted and awaiting approval." ...

Unable to open text file from WebBrowser control

I have a sample application, in which I am trying to load a text file in WebBrowser control. I have a html file through which I am calling Javascript function to open text file. But it is showing me error like; Cannot find 'file:///C:/temp/test%2520page.txt'. Make sure the path or Internet address is correct. File exist at this locatio...