adding an existing webform to a master page

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Hi I am using vs2005 and have an existing webform that I would like to add to
a master page to show up in the contentplaceholder. I tried going to website
and add existing item but did not see how to attatch it to the master page.
thanks;
Paul G
Software engineer.
 
you don't add a page to master, the master page is a control that resides on
the content page. so you add a reference to the master page on your content
page. put a <asp:content> tag around the page content.

when you page is accessed, it will create a master control, then add all its
controls as a children of the master content placeholder with the matching id.


-- bruce (sqlwork.com)
 
Back
Top