Saturday, March 24, 2012

Newbie generic header question...

Hi,

I want to have a generic header for all my web forms, so what is generally
recognized as the best way to achieve this:

have all forms inherit from a base page?
style sheet?

Any thoughts would be greatly appreciated...

TIA
Colin BHi Colin,
Create a user control for header information and use it in all your web
forms.It gives you the reusability.
Here is a link on MSDN:

http://msdn.microsoft.com/library/d...sercontrols.asp

Hope this helps.
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com

"Colin Basterfield" <colinbasterfield@.hotmail.com> wrote in message
news:Oe9DBWaAEHA.2040@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I want to have a generic header for all my web forms, so what is generally
> recognized as the best way to achieve this:
> have all forms inherit from a base page?
> style sheet?
> Any thoughts would be greatly appreciated...
> TIA
> Colin B

0 comments:

Post a Comment