what is the best way to implement a navigation

D

David

control?

I am talking about a tab control with links to a bunch of pages which could
be on the left side or accross the top of the page.

I've used user controls, but having to put the user control on every page is
getting tiresome.

Is using frames a better way? Then if so, how would you do that?
Server.Transfer() does not let me specify the target frame and neither does
Response.Redirect.

Sorry if it sounds like a newbie question.
 
S

Steve C. Orr [MVP, MCSD]

What you need is a Master Page, from which all your pages will automatically
inherit the navigation user control and other common page elements.
Unfortunately there is not an easy way to do this until .NET 2.0 comes out
next year.
Here are a couple ways you can sort of fake it for now, but they're not
nearly as intuitive and functional as the 2.0 implementation is shaping up
to be.
http://authors.aspalliance.com/PaulWilson/Articles/?id=14
http://www.sellsbrothers.com/writing/default.aspx?content=projectitemtemplates.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top