I need to pragmatically set the selected tab in the RibbonView - how can that be done?
Chad
1 Answer, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 10 May 2013, 01:44 PM
Hi Chad,
The RadRibbonView provides a few selection-related properties. But in order to change the selection in code-behind I'd suggest setting the RibbonView SelectedIndex value, or if you have an instance of a RadRibbonTab, then setting the SelectedItem property. You can also set a RadRibbonTab IsSelected property to True thus selecting the tab.
If the RadRibbonView is data-bound, you can use the same properties, but you'll have to make sure that the RadRibbonView.SelectedItem is set to an instance of a business object that represents a RibbonTab.
You can find more information regarding the RibbonView selection support in our documentation.