MS Ajax Tab Control: Index of the Tab Containing a Control

The Problem

I have an Ajax Tab Container that contains several tabs. On one of those tabs, I have a control. On the client, how do I find out which tab contains the control?

The Solution

Here is the JavaScript function that I used to solve this problem. In the following code, my tab container is called “Main_TabContainer”.

Leave a Reply

Your email address will not be published. Required fields are marked *