Posted on: 7/21/2015 4:12:56 PM | Views : 822

Please help,
I've encountered a "feature" of the WebBrowser control, that I do not know how to circumvent. The code sample below will demonstrate this, which does use jquery. MAke a plain jane C# WinForm, with a WebBrowser control in it. Have the WebBrowser control naivagte to the HTML sample below. In the first instance, the javascript will successfully load www.Microswoft.com. But if you press the "Click to Refresh IFRAME" button, a new IFRAME will be made, but it will hang, with the spinning loading cursor, and never load.
This can also be reproduced by refreshing from within the WebBrowser control by right-click over the "Microsoft-Initial..." text, and choosing "Refresh", the page will refresh, but the same initial IFRAME that worked the first time, will also NOT load, but just hang, with the spinning cursor.
If you run this page in a real browser, it works every time. ...

Go to the complete details ...