Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...