I have to admit that the webTab control is starting to wear on my nerves. I have a question reagrding the LoadAllTargetUrls property. According to the documentation, the property controsl whether the webTab control will
"Load all TargetUrls assigned to tabs at the time when the page is loaded or keep loaded only one TargetUrl for the active/selected tab."
With that said, I have set the property to false. My webTab control loads its content using aspx pages. The contentURL of the first page is hard coded, but the content URL of the 2nd-5th tabs are set during the SelectedIndexChanged event. What I notice is the following:
It seems like once the page loads, the pages of visited tabs will continue to load everytime the user switches between tabs regardless of the tab they are visiting. Is this the expected behavior? What does the LoadAllTargetUrls actually do for you?
I think I found the answer, it seems like the PostBackOption
needs to also be set for this to work correctly.
Do you have any other questions about the WebTab?