4 Answers, 1 is accepted
0

Johan
Top achievements
Rank 1
answered on 08 May 2007, 06:45 AM
Upon form loading, you can use something similar to this:
radRibbonBar1.RibbonBarElement.TabStripElement.SelectedTab = radRibbonBar1.RibbonBarElement.TabStripElement.Items[0];
or this
TabItem item = radRibbonBar1.RibbonBarElement.TabStripElement.Items[1] as TabItem;
item.IsSelected = true;
I have also not found the way to do this at design time (could not located the IsSelected property in the PropertyGrid per TabItem)
radRibbonBar1.RibbonBarElement.TabStripElement.SelectedTab = radRibbonBar1.RibbonBarElement.TabStripElement.Items[0];
or this
TabItem item = radRibbonBar1.RibbonBarElement.TabStripElement.Items[1] as TabItem;
item.IsSelected = true;
I have also not found the way to do this at design time (could not located the IsSelected property in the PropertyGrid per TabItem)
0
Hello Corey,
Selecting a tab can be done even easier like:
the telerik team
Instantly find answers to your questions at the new Telerik Support Center
Selecting a tab can be done even easier like:
this.radRibbonBar1.RibbonBarElement.TabStripElement.SelectedTab = this.tabItem1;
All the best,
the telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

seedy
Top achievements
Rank 2
answered on 08 May 2007, 12:34 PM
Ok I'll give those a try, although my problem seems to have disappeared for now.
What I was seeing was that after I had created a second and third tab, it was actually the second tab that was opened by default, without me having any code in place doing so. I just launched it this morning, and it looks like the first tab is defaulting now, so im not sure what happened there.
thanks
What I was seeing was that after I had created a second and third tab, it was actually the second tab that was opened by default, without me having any code in place doing so. I just launched it this morning, and it looks like the first tab is defaulting now, so im not sure what happened there.
thanks
0
Hello Seedy,
The problem you experienced might be due to problems with the Visual Studio Design Time environment and you can try to solve them by restarting the VS.NET environment. If you have experienced any other similar problems don't hesitate to write us further.
Regards,
Instantly find answers to your questions at the new Telerik Support Center
The problem you experienced might be due to problems with the Visual Studio Design Time environment and you can try to solve them by restarting the VS.NET environment. If you have experienced any other similar problems don't hesitate to write us further.
Regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center