Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
650
setSelectedIndex(var) not working
posted

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? 

Parents
No Data
Reply
  • 10880
    posted

    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.

Children