A
Angus SC2
Hi, I am writing a little web-app in Visual Studio.NET using C# and ASP.net.
I have a few questions about page layouts. ..
What I am trying to achieve is to have every page in my app like the
following: It will be a table that fills the entire browser window and has a
header at the top, a navbar on the left, a footer at the bottom and the body
section on the right.
I am wondering how to fit this into the visual studio thing where you design
each page in the designer? Really what I want is for the designed page to
be squeezed into the body section on the above layout.
If I have to abandon using the page designer altogether, and just generate
the HTML myself, that will be OK but it would be better if I can still use
it to design each page as we want it, and then have that inserted into our
body section.
If I have to hardcode it without the page designer then what should I be
using to include the html and aspx files? I've tried stuff like:
<TABLE cellSpacing="1" cellPadding="1" width="300" border="1" height="32">
<TR>
<TD><!--#Include File="TestHeader.htm"--></TD>
</TR>
<TR>
<TD><!--#Include File="Deals.aspx"--></TD>
</TR>
<TR>
<TD><!--#Include File="TestFooter.htm"--></TD>
</TR>
</TABLE>
in an aspx file just to try get a header/body/footer layout going but the
deals.aspx file output just goes straight over the top of the table (and the
TestHeader.htm and TestFooter.htm output).
Any advice?
Thank you in advance
Angus
I have a few questions about page layouts. ..
What I am trying to achieve is to have every page in my app like the
following: It will be a table that fills the entire browser window and has a
header at the top, a navbar on the left, a footer at the bottom and the body
section on the right.
I am wondering how to fit this into the visual studio thing where you design
each page in the designer? Really what I want is for the designed page to
be squeezed into the body section on the above layout.
If I have to abandon using the page designer altogether, and just generate
the HTML myself, that will be OK but it would be better if I can still use
it to design each page as we want it, and then have that inserted into our
body section.
If I have to hardcode it without the page designer then what should I be
using to include the html and aspx files? I've tried stuff like:
<TABLE cellSpacing="1" cellPadding="1" width="300" border="1" height="32">
<TR>
<TD><!--#Include File="TestHeader.htm"--></TD>
</TR>
<TR>
<TD><!--#Include File="Deals.aspx"--></TD>
</TR>
<TR>
<TD><!--#Include File="TestFooter.htm"--></TD>
</TR>
</TABLE>
in an aspx file just to try get a header/body/footer layout going but the
deals.aspx file output just goes straight over the top of the table (and the
TestHeader.htm and TestFooter.htm output).
Any advice?
Thank you in advance
Angus