I guess they took a look at the proliferation of articles on creating page
templates. I used information from almost all of them to come up with my
"Jeff" <jsiver@nospam.dls.net> wrote in message
news:OIncKoKsDHA.3140@TK2MSFTNGP11.phx.gbl...
> Here is a link to an article that talks about a different approach to
> creating page templates:
>
http://www.smartisans.com/articles/vb_templates.aspx >
> This approach is similar to the Master Pages concept MS is creating in
> ASP.NETv2.
>
> Jeff
>
>
> "Colin Young" <x@nospam.com> wrote in message
> news:%23YHCKFEsDHA.2360@TK2MSFTNGP10.phx.gbl...
> > I'm attaching the page template I use. It allows me to design the page,
> > although you do need to manually delete the header, body and html tags
> (i.e.
> > you will only have the content of the page in the HTML view).
> >
> > I have header and footer custom controls that emit the HTML to define
the
> > header and footer of the page. The ones I use read in a file from disk
> that
> > contains the HTML fragments which allows me to easily modify the look of
> the
> > page without recompiling.
> >
> > I will also echo the comment that CSS is a far better choice for layout
> than
> > tables. Table should be reserved for presenting tabular data, not
> > controlling presentation. See
www.alistapart.com or
>
http://tinyurl.com/vzf5 > > (link to Amazon.com).
> >
> > Colin
> >
> > "Mitch" <mitch@somew321here.com> wrote in message
> > news:3fbd2ece$1_3@newspeer2.tds.net...
> > > I'm trying to use page inheritance so that I can derive all web pages
> from
> > a
> > > template. There are a bunch of examples at this site
> > >
http://authors.aspalliance.com/PaulWilson/Articles/?id=1, but
strangely
> > > enough, not a single one works with my design.
> > >
> > > My format is quite simple: large table direcly under the <HTML> tag
> > contains
> > > a header usercontrol, a left side menu usercontrol and then page
> content.
> > > Here is a simplified representation of my template design (you should
be
> > > able to paste this into a blank html doc):
> > >
> > > <%@ Page language="c#" Codebehind="Template.aspx.cs"
> > AutoEventWireup="false"
> > > Inherits="StemCellPolitics._Template" %>
> > > <%@ Register TagPrefix="uc1" TagName="Header" Src="_Header.ascx" %>
> > > <%@ Register TagPrefix="uc1" TagName="Menu" Src="_Menu.ascx" %>
> > > !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
> > > <HTML>
> > > <HEAD>
> > > <TITLE>Default</TITLE>
> > > <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
> > > <meta content="C#" name="CODE_LANGUAGE">
> > > <meta content="JavaScript" name="vs_defaultClientScript">
> > > <meta content="
http://schemas.microsoft.com/intellisense/ie5" > > > name="vs_targetSchema">
> > > </HEAD>
> > > <body>
> > > <table id="tbl" cellSpacing="0" cols="3" cellPadding="0" width="800"
> > > border="0">
> > > <tr>
> > > <td colSpan="3">
> > > <uc1:header id="Header1" runat="server"></uc1:header></td>
> > > </tr>
> > > <tr>
> > > <td vAlign="top" width="145"><uc1:menu id="Menu1"
> > > runat="server"></uc1:menu><img height="1" src="images/1x1.gif"
> > width="145">
> > > </td>
> > > <td width="20"></td>
> > > <td valign="top">
> > > <table cellSpacing="0" cellPadding="0" width="100%" border="0"
> > > ID="Table1">
> > > <TBODY>
> > > <tr>
> > > <td vAlign="middle" width="100%" class="PageHeading">
> > > <!-- Page Title Goes Here-->
> > > <hr>
> > > <br>
> > > </td>
> > > </tr>
> > > <tr>
> > > <td>
> > > <!-- Page Content Goes Here-->
> > > </td>
> > > </tr>
> > > </table>
> > > </td>
> > > </tr>
> > > </TBODY></table>
> > > </body>
> > > </HTML>
> > >
> > > I have not found a technique that allows me to load the above HTML,
then
> > > load the page content, and then continue building the page HTML. Any
> > > suggestions?
> > >
> > >
> > >
> >
> >
>
>