How can I get the ActiveTabIndex from a client side javascript function?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suzi167
    New Member
    • Feb 2007
    • 10

    #1

    How can I get the ActiveTabIndex from a client side javascript function?

    hello All,

    I need to be able to get the tabContainer.Ac tiveTabIndex on my client side in Java Script.
    How can I do that?

    Thanks

    Susan
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    See if this page helps.

    Comment

    • suzi167
      New Member
      • Feb 2007
      • 10

      #3
      Thanks for the reply.

      I saw this page and I know how to use the OnClientActiveT abChanged event but the question is once I am in the js function how to get the index of the active Tab.

      Thanks

      Susan

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        You'll have to pass that through to the Javascript. I'm not familiar with ASP.NET, so I don't know if the page is refreshed or what when the tab is changed. Since you're using Ajax, pass the tab index when getting the response from the server-side.

        Comment

        • suzi167
          New Member
          • Feb 2007
          • 10

          #5
          OK Thanks I will try that.


          Thanks

          Susan

          Comment

          Working...