Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 2 tabcontainer using ajax toolkit, each having 2 panels.TabPanel1,TabPanel2,
TabPanel3 and TabPanel4.When I select TabPanel1 along with it TabPanel3 should get open.
I need C# CODE .
Posted

C#
TabContainer2.ActiveTabIndex = 0;
 
Share this answer
 
C#
<asp:updatepanel id="UpdatePanel1" runat="server" xmlns:asp="#unknown">
  <contenttemplate>
 <asp:tabcontainer id="TabContainer1" runat="server" activetabindex="0">
 <asp:tabpanel id="tabpan1" runat="server" headertext="Tab1">
      <div>
      </div>

<asp:tabpanel id="tabpan2" runat="server" headertext="Tab2">
 <div>
  </div>


</contenttemplate>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900