Hi,
I want to bring the TAB structure in asp.net mvc page. How I can do this ? Thanks in advance.
Hi,
I want to bring the TAB structure in asp.net mvc page. How I can do this ? Thanks in advance.
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."}) %>
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.
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.