tags:

views:

206

answers:

5

Hi,

I want to bring the TAB structure in asp.net mvc page. How I can do this ? Thanks in advance.

+1  A: 

You have to build them from HTML yourself. Follow any of the many examples out there (here's one!) to construct the tabs from HTML. Then use <%= Html.ActionLink("Action Links","to create", new { hurf="the links in the tab's anchors."}) %>

Will
A: 

Send information down in ViewData that will enable you to create a ul / li structure in the html of the MVC page and use CSS to transform it. Maybe spruce it up a little with JQuery.

This is a nice tutorial for the display side of things.

DeletedAccount
A: 

The NerdDinner sample on asp.net has a tab.

In fact, when you use Visual Studio to create you an MVC solution, the Master page comes with a tab.

griegs
+3  A: 
Davide Vosti
A: 

Check out JQuery tabs. It makes your job very simple