Thursday, December 18, 2008 7:57 AM
We are facing some issues in our current application. The details about the problem are given in comments.
Comment : We are doing screen scrapping application using C#.NET Win forms and web browser control. We need to automate “search” functionality in one of the web application hosted in the web browser control. We have 2 pages viz. “Search” page and “DetailsResult” page. The details about the issue is given in steps.
Step 1: when the application is launched “Search” page is loaded in to web browser control
Step 2: we programmatically provide data to be searched in text fields and click on the search button on the “Search” page
Step 3: Then, search results are displayed on “Grid” control on the same page
Step 4: The details about the search result is shown in “Details” Page. This page is called as soon as we click on the hyperlink present in the data grid.
For the first iteration, i.e. from step 1 to step 4, works fine.
However the problem starts for second iteration. When we try to search new records as per the step 2 we get an java script error “Connection undefined”. And hence code is not able to perform step 3 and step 4.
Thanks & Regards,
Thursday, December 18, 2008 3:29 PMModeratorHi,
This forum is to support questions on Open Specifications Protocols.
There are very helpful communities of C# developers on the MSDN that may be able to assist you with your solution. I suggest you post your question on one these forums:
Internet Explorer Development
You should also search the forums in case someone has already asked a similar question.