VSP
VSP

Reputation: 2393

ASP.net Common menu and navbar across website

We would like to create a new website with a common menu and navbar across all the pages (except start/login page) . The thing is that we are going to use the twitter bootstrap framework and dont know if this could be achieved with the framework only (or with any html + css trick)...

Previously we have used iframes for this cases but we prefer to do a frameless website this time and dont know how the framework will behave with master pages...

Any suggestions? If the only way is using master pages, could you provide some sample or link?

Upvotes: 0

Views: 3215

Answers (3)

AndyC
AndyC

Reputation: 1335

You should use a master page. Here is a link to the asp.net tutorial on master pages: http://www.asp.net/web-forms/tutorials/master-pages

Upvotes: 2

Geethanga
Geethanga

Reputation: 1846

Master page is the way to go. Here is a walk through.

Upvotes: 2

lolol
lolol

Reputation: 4390

Use asp.net master pages. I think this has nothing to do with twitter bootstrap framework.

Create a empty parent masterpage with a header and a body container only. Create two web forms using the parent master page for the start and login pages. Create a children master page using the parent master page and implement the menu on the children. Create everything else using the children master page so you will have a menu on every page.

If you want a menu less page, use the parent.masterpage. If you want the menu version, use the children.masterpage.

Upvotes: 2

Related Questions