Hello.
i have a webbrowser control and i need to find a certain phrase on a page, but each time a page is loaded it has a diferent value in the text. imagine "You have sent 2 emails" in the next load it writes "You have sent 3 emails".
what is the best way to get that text?
Thanks in advance
Loading
Gaurav TomarPosted May 28, 2008, 5:21 AM
/////////////////////////ORIGINAL PROBLEM//////////////////////
Hello.
i have a webbrowser control and i need to find a certain phrase on a page, but each time a page is loaded it has a diferent value in the text. imagine "You have sent 2 emails" in the next load it writes "You have sent 3 emails".
what is the best way to get that text?
Thanks in advance
//////////////////////////////////////////////////////////////////
Hi buddy, The information you provide is not complete and in the last you mention a problem related to mails.
For that I will suggest you to check whether you are calling your method at page load event. This type of problem generally comes when your method was fired twice in a single event.
OR
Your page refresh automatically.
Check the below given links to resolve your page refresh problem
http://www.codeproject.com/KB/aspnet/Detecting_Refresh.aspx
http://www.codeproject.com/KB/aspnet/SyncControl.aspx
Hope this will help you