While this doesn't answer your question directly, I think you'd find master
pages (which are built-in feature in 2.0). The best I've used are
MetaBuilders (free)
http://www.metabuilders.com/Tools/MasterPages.aspx
it should give your non-programmers the clean separation needed.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Nicholas" <Gr*****@Erebos.com.uk> wrote in message
news:lt********************************@4ax.com...
Here is the issue:
1. I would like to create an ASP.Net/C# control to append a dynamic
header and footer to **every** web page (depending on the page the
content of each will vary).
I can easily create the control yet herein lay the problem:
2. The folks who edit the HTML content are NOT programmers and even
though the content pages will have an aspx extension, there will be
no code behind .cs
I really would prefer them not to be required to learn how to create a
code-behind and create an instance of my control.
My preference would be that each page has a simple tag such as
<%@ Register TagPrefix="cor" Namespace="Some.Header.And.Footer"
Assembly="Some.Header.And.Footer" %>
<cor:HeaderAndFooter id="header" runat="server" />
And the control renders the HTML without each .ASPX page requiring a
code-behind.
Is this possible?
Thank you for the help!