|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Web Page Header and MenuHi 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...) Thanks for your response "poifull" <poiful***@yahoo.com> wrote in Take a look at Paul Wilson's ASP.NET MasterPages.news:wophe.90070$h6.711@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...) http://authors.aspalliance.com/PaulWilson/Articles/?id=14 MasterPages is included with .NET 2.0 -- Lucas Tam (REMOVEn***@rogers.com) Please delete "REMOVE" from the e-mail address when replying. http://members.ebay.com/aboutme/coolspot18/ 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/ Show quoteHide quote "Lucas Tam" <REMOVEn***@rogers.com> wrote in message news:Xns96567CFFFD7C1nntprogerscom@127.0.0.1... > "poifull" <poiful***@yahoo.com> wrote in > news:wophe.90070$h6.711@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/PaulWilson/Articles/?id=14 > > > MasterPages is included with .NET 2.0 > > > > -- > Lucas Tam (REMOVEn***@rogers.com) > Please delete "REMOVE" from the e-mail address when replying. > http://members.ebay.com/aboutme/coolspot18/ >>The downside to user controls is they can be thought of as text declarative HTML and as such must be copied and pasted into each pagesnippets of in the project. << You can place the user controls into your base page. The only caveat might be that you probably will need a standard format (perhaps using a table) for each page so that the user controls are placed into the proper positions on the page. Bill E. "clintonG" <csgallag***@REMOVETHISTEXTmetromilwaukee.com> wrote in Yes it does - you can create a content region for the header and place news:u5kxjdLWFHA.3572@TK2MSFTNGP12.phx.gbl: > 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? whatever you like in there - be it literal text, a user control, etc. When you're using masterpages, what control you put in there is of minor importance. -- Lucas Tam (REMOVEn***@rogers.com) Please delete "REMOVE" from the e-mail address when replying. http://members.ebay.com/aboutme/coolspot18/
Dynamically Adding Controls
HELP!! Dynamically created webcontrol not accessible on postback User Controls Datagrid ... is this the control from hell? What is .Net equivilent of Fieldset/Legend Datalist layout Best free/cheap Menu Control for 1.1 Staggering Data using DataList, Repeater, etc... Repeater and RadioButton DropDownlist and sorting |
|||||||||||||||||||||||