master page with WAP

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
 
M

Mark Rae

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

Rotsey

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
 

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,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top