Converting a web form form to web content after the fact. (.net)
I have a site for several years containing about 30 aspx web form pages with code behind. I want to add a generic master page to all of these with a minimum amount of work.
Basically I just need to add everything to the body tags in the Content Placeholder and save the code.
Is there a quick way to do this?
0
source to share
3 answers
For each page, do the following - Add an attribute to the <@Page> tag named MasterPageFile = "Your MasterPage Path" - Add the following tag - Remove the html and head tags and their content, except for the body tag - Remove the body tags BUT KEEP its connotations - Remove Form Tag - Done
+2
Mohamed gouda
source
to share