Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2006

Tip: Looking for answers? Try searching our database.

master page with WAP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rotsey - 29 Dec 2006 01:27 GMT
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
Mark Rae - 29 Dec 2006 10:03 GMT
> 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...?
Rotsey - 30 Dec 2006 06:15 GMT
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

>> I have just installed the web application project  addon for VS2005.
>
[quoted text clipped - 18 lines]
>
> Er, well have you actually *created* your MasterPage...?
Mark Rae - 30 Dec 2006 07:05 GMT
> the problem was that I did not use the "Content page" template

Ah - that would explain it... :-)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.