Google: "include"+"user control" for results supporttive of Steve's
comments. It all comes down to the fact that user controls allow
programmatic inclusion and include directives are cripple-code.
A well crafted article...
http://www.aspfree.com/c/a/ASP.NET/M...-to-ASP.NET/6/
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET
cs*********@REMOVETHISTEXTmetromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Oa**************@TK2MSFTNGP09.phx.gbl...
Include files are old fashioned.
Nowdays the best practice is to use user controls instead.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Murphy" <mu****@murphy.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl... I have a number of pages that include basic html such as "About" and I
have delegated the upkeep of these pages to various staff.
I am concerned about having the staff edit the aspx file directly as
there is more than just the html page content in there and I don't want it
stuffed up. Until now I have put the content in an aspx that is placed on the
aspx however as the content is mere html should I simply put it in a text
file and use an include as opposed to a user control ?
Comments ?
Thanks
Murphy