This question is locked. New answers and comments are not allowed.
Can you have a Tabstrip inside a Tabstrip ?
I have tried the following but it doesn't work:
Actually it renders like so:
You can see no generated html for where the inner TabStrip was
Just wondering if its possible otherwise I will go different path.
I have tried the following but it doesn't work:
<% Html.Telerik().TabStrip() .Name("TabStrip") .Items(items => { items.Add().Text("Item 1") .Content(()=> {%> <p>Content</p> <%}); items.Add().Text("Item 2") .Content(() => {%> <!-- START INNER TABSTRIP --> <% Html.Telerik().TabStrip() .Name("TabStrip2") .Items(subitems => { items.Add().Text("Item 1") .Content(()=> {%> <p>Content</p> <%}); items.Add().Text("Item 2") .Content(()=> {%> <p>Content</p> <%}); }) .Render(); %> <!-- END INNER TABSTRIP --> <%}); }) .Render(); %>Actually it renders like so:
<div class="t-widget t-tabstrip t-header" id="TabStrip"><ul class="t-reset t-tabstrip-items"><li class="t-item t-state-default"><a class="t-link" href="#TabStrip-1">Item 1</a></li><li class="t-item t-state-default"><a class="t-link" href="#TabStrip-2">Item 2</a></li></ul><div class="t-content" id="TabStrip-1"> <p>Content</p> </div><div class="t-content" id="TabStrip-2"> Here <br /> <!-- START INNER TABSTRIP --> <!-- END INNER TABSTRIP --> <br /> Here </div></div> </div>You can see no generated html for where the inner TabStrip was
Just wondering if its possible otherwise I will go different path.