adding an existing webform to a master page

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.
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top