المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : webbrowser and autoviewer



C# Programming
04-03-2010, 08:50 PM
Webbrowser control doesn't work when opening page "http://photos.weirwindle.org[^ (http://photos.weirwindle.org)]". The problem is: after page is opened, user can click 'start', 'next' or 'previous' only once, after one click, these buttons are disabled!!!
I guess there is something wrong with browser configuration, but both internet explorer and firefox can open this page correctly. I can't figured out this problem for a long while...
I pasted some code on my test application, one textbox, one button and one webbrowser:

private void Form1_Load(object sender, EventArgs e)
{
string url = "http://photos.weirwindle.org";
txtAddress.Text = url;
//webBrowser1.Navigate(url);
}

private void btnGo_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(txtAddress.Text);
}