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

[Solved] How to change Menu to TabStrip?

0 Answers 14 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.
Mardiono
Top achievements
Rank 1
Mardiono asked on 13 Oct 2011, 01:10 PM
Hi, I am a new user of Telerik ASP.NET MVC extension (trial).
After install Telerik package I create new project Telerik MVC3 Web Application (Razor) using VS2010, without any modification build it and run it. I see menu Home and About.
I want to know if one can use TabStrip instead of Menu. If yes, how.

Code snippet of my _Layout.cshtml:

@(Html.Telerik().Menu()
        .Name("menu")
        .Items(menu => {
            menu.Add().Text("Home").Action("Index", "Home");
            menu.Add().Text("About").Action("About", "Home");
        }))
I have tried to take code from TabStrip sample code and replace the menu like following (see attached file), but it doesn't show content of index.cshtml and about.cshtml inside the TabStrip.
Tags
TabStrip
Asked by
Mardiono
Top achievements
Rank 1
Share this question
or