How can I change tabBarPages in TabBarSplitterControl programmatically?

Here is the scenario. I have a TreeViewAdv control with five nodes. Each Node represents each tabBarPage. I have GridControl inside of each page. By clicking on TreeView node I want programmatically change the tabBarpage to that page. Or make that page to be active page. I used AfterSelect event as follow: private void _SettingsTreeViewAdv_AfterSelect(object sender, System.EventArgs e) { if(this._SettingsTreeViewAdv.SelectedNode!=null) { try { int activeIndex = this._SettingsTreeViewAdv.SelectedNode.Index; this._SettingsTabBarSplitterControl.ActivePageIndex = activeIndex+1; } catch {} } } This causes my application to hang. No error or exception that help me what is wrong. I could be totally in wrong track. I appreciate your help. By the way I am using Syncfusion version 3.0.1.6

1 Reply

AD Administrator Syncfusion Team September 16, 2005 06:35 AM UTC

Hi Najmeh, We have updated your incident for this query. Thanks, Jay N

Loader.
Up arrow icon