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

Tab within a Tab

4 Answers 92 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve
Top achievements
Rank 1
Steve asked on 10 Dec 2009, 05:21 AM
I mentioned this in general, but it's best here

I have a TabStrip ('Tab1')  it has a TabStrip inside the first tab

Html.Telerik().TabStrip() 
        .Name("MissionSummaryTabs") 
        .Items(items => 
        { 
            items.Add().Text("Pilot Summary") 
            .Content(() => 
                       {%> 
                        <% Html.Telerik().TabStrip().Name("PilotSummaryTab") 
                               .Items(i => 
                                        { 
                                          i.Add() 
                                            .Text("Tab1") 
                                            .Content(() => 
                                                       {%> 
                                                         <p>Content</p>
                                                       <%}).Selected(true); 
                                          i.Add() 
                                            .Text("Tab2") 
                                            .Content(() => 
                                                       {%> 
                                                    <p>Content</p>
                                                       <%}); 
                                               
                                        }).Render(); %> 
                       <%}).Selected(true); 

Notice that I have a 'selected' inside.

Since this is first tab, it loads fine.  But if I select another tab in the 'outer' tabstrip, then go back to tab1, it does not cause the child tabstrip 'select' to get called

(Additionally, having this tabstrip in a tabstrip is having issues with LoadContentFrom - its not making an ajax call)

4 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 11 Dec 2009, 11:37 AM
Hello Steve,

I've fixed the tabstrip nesting issue - you can download the new release from your client.net account (we just released a service pack for the beta)

Kind regards,
Alex
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Steve
Top achievements
Rank 1
answered on 11 Dec 2009, 03:40 PM
Latest release fixed this - THANK YOU !!!!!

You guys are great!  :)

I do really appreciate it - and done so quickly, I will now be able to make my deadline in time.  Two thumbs up for Telerik  MVC  :)
0
Carl
Top achievements
Rank 1
answered on 14 Apr 2011, 07:07 PM
What is the latest practical experience with nesting tabs within tabs?

From a user interface perspective, I don't think it makes much sense to go beyond two levels total, meaning just a tab within a tab. But I am interested in the possibility of a two-level nested Tabstrips that are then nested within the detailview of a grid.

Has anybody had any experience with this scenario? Should I avoid it for performance reasons or some other problems?
0
Kevin
Top achievements
Rank 1
answered on 18 Jul 2011, 09:41 PM
I would like to get any advice or comments from people who have recently tried to put a tabstrip inside another tab.  In my case, I have a strip that I dynamically (or programmatically) add tabs to.  The content inside each tab comes from a partial view.  On one of these tabs I would like to put another tabstrip, because I need to have multiple related child grids that users can do CRUD on.

I have successfully so far been able to add tabs dynamically (with each having a partial view) and can have grids in each partial view*.  I just want to make sure I not pushing MVC to hard here with adding another level of tabs with child grids.

Steve

** I couldn't have done this without John DeVight's help in the following article: "Telerik MVC : Dynamically Add a Tab to the TabStrip": http://www.aspnetwiki.com/telerik-mvc:dynamically-add-a-tab-to-the-tabstrip
Tags
TabStrip
Asked by
Steve
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Steve
Top achievements
Rank 1
Carl
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Share this question
or