This is a migrated thread and some comments may be shown as answers.

Incorrect child tabs with the same parent tab name

2 Answers 52 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Vladimir
Top achievements
Rank 1
Vladimir asked on 27 Feb 2009, 05:37 AM
Hello.
There is the problem what i can't solve :(
I have created a miltilevel menu using tabs.
There is the code :
<telerik:RadTabStrip ID="RadTabStrip1" runat="server"
         <Tabs> 
                  <telerik:RadTab runat="server" Text="Кирпич керамический"
                                 <Tabs> 
                                     <telerik:RadTab runat="server" Text="Пластического формования"
                                         <Tabs> 
                                             <telerik:RadTab runat="server" Text="Строительный(рядовой)"
                                                 <Tabs> 
                                                     <telerik:RadTab runat="server" Text="Полнотелый(рядовой)"
                                                         <Tabs> 
                                                             <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="М-75"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-100"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-125"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-150"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-175"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-200"
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                         </Tabs> 
                                                     </telerik:RadTab> 
                                                     <telerik:RadTab runat="server" Text="Пустотелый(эффективный)"
                                                         <Tabs> 
                                                             <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="М-75"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-100"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-125"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-150"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-175"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-200"
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="Полуторный 250x120x88"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="М-75"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-100"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-125"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-150"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-175"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-200"
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="Двойной (камень) 250x120x135"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="М-75"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-100"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-125"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-150"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-175"
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="М-200"
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                         </Tabs> 
                                                     </telerik:RadTab> 
                                                 </Tabs> 
                                             </telerik:RadTab> 
                                             <telerik:RadTab runat="server" Text="Лицевой"
                                                 <Tabs> 
                                                     <telerik:RadTab runat="server" Text="Полнотелый"
                                                         <Tabs> 
                                                             <telerik:RadTab runat="server" Text="Красный"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-175"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-200"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                         </Tabs> 
                                                     </telerik:RadTab> 
                                                     <telerik:RadTab runat="server" Text="Пустотелый"
                                                         <Tabs> 
                                                             <telerik:RadTab runat="server" Text="Красный" Visible="False"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-75"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-100"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-175"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-200"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="Полуторный 250x120x88"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-100"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="Двойной (камень) 250x120x135"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-175"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-200"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="Желтый"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-175"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-200"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="Полуторный 250x120x88"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-175"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-200"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="Коричневый"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                     <telerik:RadTab runat="server" Text="Полуторный 250x120x88"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="Бежевый" Visible="False"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-175"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="Слоновая кость" Visible="False"
                                                                 <Tabs> 
                                                                     <telerik:RadTab runat="server" Text="Одинарный 250x120x65"
                                                                         <Tabs> 
                                                                             <telerik:RadTab runat="server" Text="М-125"
                                                                             </telerik:RadTab> 
                                                                             <telerik:RadTab runat="server" Text="М-150"
                                                                             </telerik:RadTab> 
                                                                         </Tabs> 
                                                                     </telerik:RadTab> 
                                                                 </Tabs> 
                                                             </telerik:RadTab> 
                                                             <telerik:RadTab runat="server" Text="С полимерным покрытием" Visible="False"
                                                             </telerik:RadTab> 
                                                         </Tabs> 
                                                     </telerik:RadTab> 
                                                 </Tabs> 
                                             </telerik:RadTab> 
                                         </Tabs> 
                                     </telerik:RadTab> 
                                     <telerik:RadTab runat="server" Text="Полусухого прессования"
                                     </telerik:RadTab> 
                                 </Tabs> 
                                 </telerik:RadTab> 
                                 </Tabs> 
        </telerik:RadTabStrip> 

In line #175 there is a problem.
This tab has 2 child tabs in code, but on the page it has 6 childs and not as described in the code. See screenshot.
I think the problem is because tabs in line 149 and 177 have the same names :( And i tired to find the way how to solve it but have not successful.

Do you have any ideas or solutions how to fix it ?

Vladimir Radzivil

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 27 Feb 2009, 07:06 AM
Hi Vladimir,

I'm afraid we cannot reproduce the reported issue on our side. Please find attached a sample web application and a screenshot that show the proper work of your code.

Best wishes,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Vladimir
Top achievements
Rank 1
answered on 27 Feb 2009, 08:48 AM
Hello Paul.
Thank you a lot for your time.
Your version working perfect.
I didn't find the reason why it is working incorrect in my version but now it is solved.

Vladimir
Tags
TabStrip
Asked by
Vladimir
Top achievements
Rank 1
Answers by
Paul
Telerik team
Vladimir
Top achievements
Rank 1
Share this question
or