I have an UltraWebTab control on my Page, having to two tabs that have their Content Pane Target URL properties set to some url. Autopostback is false and no tab change event is captured on server-side. When this page is opened in Firefox it loads the page in the tab from server whenever the tab is changed, where as in Internet Explorer the pages in tab are loaded first time and not reloaded in tab change.
Steps to Reproduce:
1. Create a new web page and add UltraWebTab in it 2. Add a tab page and set its Content Pane -> Target URL to www.yahoo.com 3. Add another tab page and set its Content Pane -> Target URL to www.msn.com 4. Run the page in FireFox 2.0. Switch between tab page. Page will be reloaded.5. Run the page in IE 7. Switch between tab page. Page will be loaded first time and on tab change the pages will not be reloaded.
Has anybody here experienced the same problem? How did you resolve this problem.
Hi,
That behavior is correct. As far as I know the only IE loads hidden iframes and keeps them when their visibility is changed. That is a nice feature, but it takes a lot of resources, so other browsers do not do that. Only visible iframes are loaded and they are unloaded when iframes become invisible.
I would suggest you to set LoadAllTargetUrls property (supported by IE only) to false.
Hi
this is not true.
there is some thing in the CSOM of webtab control.
if i create an object with two tabs and instead of assigning contentpane.targeturl
i put iframes in both tabs
and assign urls to iframe this time contents of Iframe will not refresh
The thing that I find interesting in FireFox3 is that you tab off of the tab that has the target url loaded (with text in the form)... and you stay off of it for a while (it should have been unloaded from memory according to your post). However, when I go back to the tab in question it's contents are in tact, for about 2 seconds and then it reloads the page. That makes me think that FireFox is keeping it (because it was still there) but the tab is triggering a reload.