Paul Wilson's ASP.NET MasterPages does not answer the question. The OP wants
to know which type of control to use in the top-most section of a page; a
user control, a web control or a server control?
Me? Right now I have user controls which are text snippets of HTML and some
HTML may be marked runat="server" to enable that element to be used as a web
control.
The downside to user controls is they can be thought of as text snippets of
declarative HTML and as such must be copied and pasted into each page in the
project. User controls are easiest and most efficient to use in early design
phase and prototypes as they have designer support in application such as
FrontPage and Dreamweaver where they can be rapidaly designed and
re-designed without mangling or deletion of HTML source the way Visual
Studio.NET designer does.
Now a final word about Master Pages would not be complete without giving
Paul Wilson his due respect but acknowledging that his ASP.NET 1.1 solution
has been deprecated by the presence of ASP.NET 2.0 Master Pages that are now
part of the .NET Framework.
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL
http://metromilwaukee.com/
URL
http://clintongallagher.metromilwaukee.com/
"Lucas Tam" <RE********@rogers.com> wrote in message
news:Xn***************************@127.0.0.1...
"poifull" <po*******@yahoo.com> wrote in
news:wo****************@tornado.texas.rr.com:
Hi everyone,
I would like to develop a header and HTML menu system for most of the
web pages on my web site. What is the best solution for this
scenerio? (HTML Control, Server Control...)
Take a look at Paul Wilson's ASP.NET MasterPages.
http://authors.aspalliance.com/PaulW...rticles/?id=14
MasterPages is included with .NET 2.0
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/