Hi, i have a multi rows tab. Now i add Tabs to my Tab. But how can i say which Tab should go Row0 and which to Row1 ???
I can find no property. I can only set NextRow=True, but no real Ordner or Position
<igtab:UltraWebTab ID="UltraWebTab1" runat="server" DisplayMode="MultiRow" SelectedTab="6"> <Tabs> <igtab:Tab Text="Test0"> </igtab:Tab> <igtab:Tab Text="test2"> </igtab:Tab> <igtab:Tab Text="test4"> </igtab:Tab> <igtab:Tab NextRow="True" Text="Test1"> </igtab:Tab> <igtab:Tab Text="wusel"> </igtab:Tab> <igtab:Tab Text="wusel3"> </igtab:Tab> <igtab:Tab Text="wusel5"> </igtab:Tab> <igtab:Tab Text="willo"> </igtab:Tab> </Tabs> </igtab:UltraWebTab>
HI, you can determine the row a tab is on by traversing thru the tab collection and counting when the tab's nextrow prperty is set to true.
Here is a code snippet:
int row = 0; Label1.Text = " "; for (int i = 0; i < UltraWebTab1.Tabs.Count; i++) { if (UltraWebTab1.Tabs[i].NextRow) { row++; } Label1.Text += UltraWebTab1.Tabs[i].Text + " is on row " + row.ToString() + " "; }
I am attaching a website as well.
hi , thanks for your reply. but i mean in design time tell which row my current tab stay
Hi,
There is no concept of row number or row where a particular tab item is located. Because number of rows is defined by number of tabs with enabled NextRow property, so, if application modifies that property in any tab item, then overall order of tabs in rows will be changed too.
At run time, a row with selected tab item is moved on client to appear closest to the content pane, so visual order of rows are not defined by their order in collection, but by currently selected tab.
Hi!!
How can I disable this?? "At run time, a row with selected tab item is moved on client to appear closest to the content pane, so visual order of rows are not defined by their order in collection, but by currently selected tab."
I need the tabs to stay where they are, even if they are selected.
Thank you!!