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