ajaxcontroltoolkit - Ajax Control Toolkit - Use client-side button to activate tab -


I am using the TabContainer / TabPanel components of Ajax Control Toolkit.

I want to hide the tab itself and want to use the button somewhere else on the page to activate one of the tabs without posting it back on the server.

I can show and hide the tab by grabbing my customer ID and manually setting visibility and display styles.

But is there a javascript function that I can call to do this and whenever I click on an actual tab, even then the magic behind the scenario?

Post-text "itemprop =" text ">

example:

  find var tab = $ (" Client ID of tab container "); tab.set_activeTabIndex ( 1); // Activate the second tab panel tab .getFirstTab (). Set_enabled (false); // First Disable Panel  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -