object myTxt = pageSender.Page.FindControl("txtPresent"); if (myTxt != null) { ((System.Web.UI.WebControls.TextBox)myTxt).Text = "2222"; }
web.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(pageLoadedComlited); Application.Run();
void client_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e) { object myTxt = pageSender.Page.FindControl("txtPresent"); if (myTxt != null) { ((System.Web.UI.WebControls.TextBox)myTxt).Text = e.ProgressPercentage.ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)