troubleshooting Question

Website works in Chrome but not WebBrowser component

Avatar of rpm
rpmFlag for United Kingdom of Great Britain and Northern Ireland asked on
Visual Basic.NET* DOM
9 Comments1 Solution113 ViewsLast Modified:
Hi,

I am trying to use a particular website, using a WebBrowser component in a VB.Net app.

I do not have any control over the website that I am trying to access, but it works fine through Google Chrome.

Looking at the source of the website in question, it has the following form defined:

<form name="frmSearch" id="frmSearch" method="post" onSubmit="return false;" action="MeetingList.php">

Within this form, is the following button:

<a id="SPFundGoButtonLink" href="javascript:DoSearch(gnSearchFund);"><img id="SPFundGoButtonImage" src="4057/images/go.gif" border="0"></a>

If I visit this site in Google Chrome and click the above defined button, it works fine, however if I navigate to the same site in a WebBrowser component and click the same button it generates the following error:

'gnSearchFund' is undefined.

Any idea why this works in Chrome but not the WebBroswer component, and more importantly, can anyone think of a workaround for this?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros