master page with WAP

  • Thread starter Thread starter Rotsey
  • Start date Start date
R

Rotsey

Hi,

I have just installed the web application project addon for VS2005.

I want to have a master page so I put a directive in the web config pointing
to my page.

Now I want to create a page. So I remove all the html in the page except the
page directive at the top and replace with a asp:content

The problem is it now has all these compile errors not recognising any tags.

What am I doing wrong please????

rotsey
 
I have just installed the web application project addon for VS2005.

That's good.
I want to have a master page so I put a directive in the web config
pointing
to my page.

OK - with you so far...
Now I want to create a page. So I remove all the html in the page except
the
page directive at the top and replace with a asp:content

OK - so you have created a completely empty content page - fair enough...
The problem is it now has all these compile errors not recognising any
tags.

What am I doing wrong please????

Er, well have you actually *created* your MasterPage...?
 
yes I had

the problem was that I did not use the "Content page" template

so I did that and it works......but don't know why what I was not working
as the page directive seems the same for both
 
Back
Top