Search code examples
htmltabstelerik

collapsible TabStrip from MVC Telerik


I am trying to have a TabStrip (Telerik MVC control) with some tabs and the content of these tabs to be collapsible. I mean when i click the second time the same tab the content have to collapse. How can i manage it? In Kendo UI is possible to do that. RibbonBar for microsoft office works as i need.

@Html.Telerik().TabStrip()
    .Name("TabStrip")
    .Items(Sub(items) 
            items.Add.Text("Application").HtmlAttributes(
                New With {.onclick = "onSelect()"})
    .Content(Html.Partial("ApplicationContent").ToHtmlString())

Regards, Duna


Solution

  • AFAIK, Telerik use the jQuery library behind the scene.

    The jQuery Tabs Widget provides such an option:

    Tabs - Collapse content

    I suggest that you clarify this moment at Telerik Support.