Hi Mark
Query : What I want to do is that, when I click a button my tab page will change and should call tabBarPage2.
Thank you for contacting Syncfusion Support.
We have checked the reported requirement , that you want to change the selection of default tabpage to some other page at runtime. To achieve this requirement , you can use ActivePageIndex property of TabSplitterControl, by assigning the desired index of tabpage.
Code :[C#]
private void button1_Click(object sender, EventArgs e)
{
//Changing selection of TabPages
tabBarSplitterControl1.ActivePageIndex = 1;
}
|
Screenshot:
On startup of application:
After clicking Button :
Please try this solution and let us know if it is helpful.
Regards,
Vijayalakshmi VR