Thread: Parse Error
View Single Post
  #2 (permalink)  
Old January 8th, 2013, 03:57 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Since this is not related to my book directly, try posting questions like this one in a general ASP.NET 4 category from this list: http://p2p.wrox.com/asp-net-4-539/

That said, your _Default designer class is missing the Inherits attribute that makes it inherit System.Web.UI.Page. Check out the differences between the last two files you posted.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Wilfredo Rosado (January 9th, 2013)