Can a common class be used for Header/Footer/Menu? (Beginner - C#)

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I am new to asp.net development. I have created some aspx pages for
the website and they all have similar "Headers" that reference
external websites and "Footers" that have things like contact
us/faq/etc buttons. Since all of these controls are named the same on
the different pages, I was wondering how to go about making a common
class for these common elements so the click event would go to one set
of code for the response.redirect instead of having the methods on
each aspx page. Thanks in advance!
 
(e-mail address removed) (Dave) wrote in @posting.google.com:
I am new to asp.net development. I have created some aspx pages for
the website and they all have similar "Headers" that reference
external websites and "Footers" that have things like contact
us/faq/etc buttons.


Take a look ASP Master Pages.
 
Back
Top