Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2004

Tip: Looking for answers? Try searching our database.

Web Browser Control Won't Refresh. Help!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Hearn - 21 Jul 2004 22:10 GMT
I have a tab control on one of my forms that acts as sort of an editor for a
web page. On one tab, I have some fields to fill out. The user fills in the
forms, the changes are saved to a database, and the web page reads the
database and changes based on the info in the database. I have given the
user a second tab that holds a web browser control and acts as a preview so
that the user can immediately see his/her changes. I call
AXWebBrowser1.Navigate(URL) and AXWebBrowser1.Refresh everytime that the
second tab is clicked but the browser control will not refresh. It still
shows the old settings. If I navigate to the page externally using IE or
Netscape, it shows the changes so I know my database routines are working.
Also, if I unload the form and then open it again and immediately go to the
preview tab, it will show my chages. How can I force the control to update?

Thanks in advance!
Sijin Joseph - 22 Jul 2004 09:15 GMT
Try using the Navigate2 method of the webbrowser control.

Signature

-Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

> I have a tab control on one of my forms that acts as sort of an editor for a
> web page. On one tab, I have some fields to fill out. The user fills in the
[quoted text clipped - 10 lines]
>
> Thanks in advance!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.