Note: My question is after the following code.
I have this call:
Navigate2(@"http://www.mySite.com");
Using this code:
private void Navigate2(String address)
{
if (String.IsNullOrEmpty(address)) return;
if (address.Equals("about:blank")) return;
if (!address.StartsWith("http://") &&
!address.StartsWith("https://"))
{
//address = "http://" + address;
address = @"http://www.mySite.com";
}
try
{
webBrowser1.Navigate(new Uri(address));
}
catch (System.UriFormatException)
{
return;
}
}
Ok, all I want is for the next call to wait until the web site is
fully loaded
into the control. The way it is working now, it just keeps going even
if the call (above)
has not fully loaded the site.
Any help is appreciated.
Thanks,
Trint