what is the best way to implement a navigation

Discussion in 'ASP .Net' started by David, Jun 3, 2004.

  1. David

    David Guest

    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.
     
    David, Jun 3, 2004
    #1
    1. Advertisements

  2. 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

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "David" <> wrote in message
    news:sHxvc.14206$...
    > 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.
    >
    >
     
    Steve C. Orr [MVP, MCSD], Jun 3, 2004
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?V2ViTWF0cml4?=
    Replies:
    3
    Views:
    4,467
    Joe Fallon
    Dec 9, 2004
  2. roygon
    Replies:
    10
    Views:
    713
    William Buchanan
    Apr 7, 2006
  3. Mohammad
    Replies:
    1
    Views:
    487
  4. Wilco van der Veer

    What's the best way to implement listeners?

    Wilco van der Veer, Apr 27, 2004, in forum: Java
    Replies:
    3
    Views:
    465
    Chris Smith
    Apr 30, 2004
  5. Andrea Desole
    Replies:
    8
    Views:
    903
    Andrea Desole
    Nov 29, 2004
  6. jonathan
    Replies:
    3
    Views:
    484
    Rolf Magnus
    Aug 30, 2003
  7. Wing Siu
    Replies:
    1
    Views:
    401
    Darren
    Sep 22, 2006
  8. 123Jim
    Replies:
    18
    Views:
    1,019
    Rob W.
    Mar 3, 2010
Loading...