How to "include" a set of common ASP.NET controls

  • Thread starter Thread starter michael
  • Start date Start date
M

michael

I am creating a ASP.NET website and in doing so, I am going to use "TABS" at
the top of the page. These "tabs" are the same for the entire website. Is
there an easy way (other than Frames) to "include" these common button/tab
controls on the top of every ASP.NET page of mine?

Thanks in advance...
 
Look into User Controls.

They allow you to drop some stuff like tabs and images in a control and
reuse that control in your entire site.

(OT) Can't wait for whidbey's master pages to solve this

--
Tom Vergote / Developer
ORBID / IT Services
Tramstraat 61 / B-9052 GENT
Tel +32 (0)9 244 99 45 / +32 (0)9 244 99 96
http://www.orbid.be
 
Two ways you can do tha

1) Create a user control and place it in each page
2) Derive a class from System...Page and add the user control with tabs to it and then for all other pages derive from the class you have derived from System..Page class

Cheers
Shyam R
 
Back
Top