Firstly let me state that I am an old school DOS and Mac programmer that is trying to learn these new school languages that seem to do eveything for you in some way as long as you know how.
Since doing websites I always wondered if there was a way to do a website site it has a header, left, right and bottom.
With ASPX there is a way.
Using a master page Essentially design your page and where you want the body stuff then you add a content place holder there
Then in the data page add the
into the header
I had been using include files now I will have to re-do my code
Another thing I learnt is that there is a code library dumped in AppData, for ASPX and it MUST be in the root of the website, other wise it does not work
Since doing websites I always wondered if there was a way to do a website site it has a header, left, right and bottom.
With ASPX there is a way.
Using a master page Essentially design your page and where you want the body stuff then you add a content place holder there
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
Then in the data page add the
MasterPageFile="
into the header
I had been using include files now I will have to re-do my code
Another thing I learnt is that there is a code library dumped in AppData, for ASPX and it MUST be in the root of the website, other wise it does not work
Comments