including headers that use CSS in VB.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prncslnsy
    New Member
    • Jul 2008
    • 1

    including headers that use CSS in VB.NET

    I'm new to VB.NET and am unsure as how to do things as of yet.
    First off, I have several web pages that are all related. right now they do not have a db but that is coming.
    I want to include a header and a nav bar so that if links change or IP's change I can do it in one location instead of having to change 20 different pages with 30 different links. Is there a way or do you know of some code that I can accomplish this. I've been google searching for days w/o any luck.
    Secondly, these pages are done using CSS. How can I split up the header and nav sections to make them their own pages. Am I over thinking here and it's actually easier than I am making it out to be?

    thanks for any help
    Last edited by jhardman; Jul 29 '08, 07:40 PM. Reason: moved to .Net forum. ASP forum is for "classic" ASP
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    I think in visual studio there is something you can create called a "master page" that acts as a template for all your pages. I don't know much about it, but I think it was designed to handle your request.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Originally posted by Plater
      I think in visual studio there is something you can create called a "master page" that acts as a template for all your pages. I don't know much about it, but I think it was designed to handle your request.
      Plater's right, do some research on MasterPages.

      -Frinny

      Comment

      Working...