My tabcontainer needs to stay on the active tab when I have each submit going through the response.redirect
How can I achieve this? I need that response.redirect there because it will show what has been added in the main tab container.
<asp:TabContainer runat="server" ActiveTabIndex="0" Height="200px" Width="175px" ScrollBars="Auto" EnableTheming="True" Font- Underline="False" ID="TabContainer2" EnableViewState="False" Style="float:right; padding-left: 110px; margin-bottom: 340px;" OnActiveTabChanged="TabContainer1_ActiveTabChanged"><asp:TabPanel runat="server" HeaderText="Add to Product" ID="tab10"> Protected Sub TabContainer1_ActiveTabChanged(ByVal sender As Object, ByVal e As EventArgs) ViewState("ActiveTabIdx") = TabContainer1.ActiveTabIndex End Sub Protected Sub SubmitCompanies_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles SubmitCompanies.Click *****there is more code here but for this question, it's not necessary so it has been omitted***** Response.Redirect(Request.RawUrl) ViewState("ActiveTabIdx") = TabContainer1.ActiveTabIndex