I have a multi tabbed page in which some action on the first tab populates the second tab with information, I am trying to setSelectedIndex to the second tab after the data has been populated, but my call to
oWebTabControl.setSelectedIndex(1); Seems to do nothing.
Any ideas?
Something like that should work. Do you have script errors? If you place a breakpoint or an alert after the method call do you hit it? Are you sure you have the WebTab control object and not the specific tab?
Seeing your script and your aspx may help in determining the issue.
To answer your questions: there seemed to be no script errors, the script continued processing successfully. I did have the WebTab object, because I found that if I used oWebTab.setSelectedTab(oTab), it worked, I was just trying to avoid storing off a reference to the tab