T
TomB
This may seem like it's in the wrong group, but I can't seem to get a
usable answer in .net groups; and I figure that many of the people on this
group have probably dabbled in ASP.Net
In ASP I use #Includes with functions to build the look of the site.
Something like...
Include.asp
<%
Sub DrawHeader()
%>
<table><tr><td><img src=theHeader.gif></td></tr>
<tr><td valign=top>
<%
End Sub
Sub DrawFooter()
%>
</td></tr></table>
<%
End Sub
%>
Then in all of my pages I just include and call the header and footer
subroutines.
I've asked in the .Net groups how this is done and they all say "just use
user controls" but this doesn't make much sense as far as layout is
concerned. It would require me to build the layout on every page, and if I
decide to make a change, I'd have to change every page.
Any information is appreciated.
Thanks
TomB
usable answer in .net groups; and I figure that many of the people on this
group have probably dabbled in ASP.Net
In ASP I use #Includes with functions to build the look of the site.
Something like...
Include.asp
<%
Sub DrawHeader()
%>
<table><tr><td><img src=theHeader.gif></td></tr>
<tr><td valign=top>
<%
End Sub
Sub DrawFooter()
%>
</td></tr></table>
<%
End Sub
%>
Then in all of my pages I just include and call the header and footer
subroutines.
I've asked in the .Net groups how this is done and they all say "just use
user controls" but this doesn't make much sense as far as layout is
concerned. It would require me to build the layout on every page, and if I
decide to make a change, I'd have to change every page.
Any information is appreciated.
Thanks
TomB