Hi
I am adding tabs to a radtabstrip dynamically and the tabs automatically break over multiple rows when they exceed the width of the tabstrip, which is nice. However when I select a tab in the top row it doesn't reorder - which is not so nice. Similar to this question. I have ReorderTabsOnSelect = true, is there something else I have to set?
Markup:
Source Code:
I am adding tabs to a radtabstrip dynamically and the tabs automatically break over multiple rows when they exceed the width of the tabstrip, which is nice. However when I select a tab in the top row it doesn't reorder - which is not so nice. Similar to this question. I have ReorderTabsOnSelect = true, is there something else I have to set?
Markup:
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" Skin="Vista" ReorderTabsOnSelect="true" Width="550px"></telerik:RadTabStrip><telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" BorderStyle="Solid" BorderColor="Gray" BorderWidth="1px" OnPageViewCreated="RadMultiPage1_PageViewCreated"></telerik:RadMultiPage>Source Code:
protected void Page_Load(object sender, EventArgs e){ if (Page.IsPostBack == false) { //get details of tabs List<DummyObject> lstDummys = GetTabsFromDataBase(Request.QueryString["Tabs"]); //loop through and add to page foreach (DummyObject obj in lstDummys) { //add tab RadTabStrip1.Tabs.Add(new Telerik.Web.UI.RadTab(obj._displayName)); //add pageview RadPageView pageView = new RadPageView(); pageView.ID = obj._name; RadMultiPage1.PageViews.Add(pageView); } }}