How would you get the ContentPanel of the currently selected tab? I've seen one example in the forums where the RadTabStrip control collection is used, but I only need to get the ContentPanel for the currently selected tab.
1 Answer, 1 is accepted
answered on 01 Oct 2009, 07:03 AM
Thank you for the question. You can determine the selected tab by using RadTabStrip SelectedTab property and afterwards get the ContentPanelHost:
TabItem selectedTab = this.radTabStrip1.SelectedTab as TabItem;
RadTabStripContentPanel contentPanel = selectedTab.ContentPanelHost.HostedControl as RadTabStripContentPanel;
I hope this helps. Write me back if you have other questions.