Diesel Posted April 13, 2005 Posted April 13, 2005 I have a Web Form that I want to use as a template page and place a standard header and footer in the page. I'm thinking of using Response.Write in the Page_Load to write the header. Is this the most efficient way, or should I use javascript? Also, how can I write the footer after the child form that inherited this page rendered it's content? Quote
kahlua001 Posted April 13, 2005 Posted April 13, 2005 To write your footer after the page's content you would have to override the Render method and do it in there. If you dont care about a search engine getting to your footer and header content, then you can do it in javascript too. Quote
Diesel Posted April 13, 2005 Author Posted April 13, 2005 I just thought that I have user controls to add to the page, I'm wondering if I can add those in the render function. Quote
michael_hk Posted April 14, 2005 Posted April 14, 2005 http://www.visualbasicforum.com/showthread.php?t=194219&highlight=template http://www.devx.com/dotnet/Article/18011 Quote There is no spoon. <<The Matrix>>
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.