title: Maintaining TabContainer active tab after postback from within the tabs (with AutoPostBack='false')
body: <p>I have an AjaxToolkit TabContainer control with a number TabPanels. Each TabPanel has a different UserControl in it to display some information. Some of these UserControls have either a LinkButton or a GridView with a command button in them. The TabContainer has <code>AutoPostBack="false"</code> and this is how I would like to keep it.</p>
  
  <p>When you click on the LinkButton or command button in the GridView the expected events fire and the code runs. But when the page is returned the initial tab is selected again (and not the tab the user was previously viewing).</p>
  
  <p>So my question is: <strong>Is there a way to maintain the selected tab when some child control causes a postback?</strong></p>
  
  <p>Some constraints:</p>
  
  <ul>
  <li>I do not way to turn <code>AutoPostBack</code> on. This means the linked solution for <a href="https://stackoverflow.com/questions/3778070/asp-net-maintaining-activetabindex-on-postback-within-tabcontainer">this question</a> question is no good in this case.</li>
  <li>The UserControls are not always used in a TabContainer/TabPanel so the solution can not assume that this is the case.</li>
  <li>The solution needs to be fairly robust and straightforward as there could be different devs working on this code.</li>
  </ul>