I have tried to build a custom webpart control as described in chapter 16-14, but I keep getting the following error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Type 'System.Web.UI.WebControls.WebParts.WebPartZone' does not have a public property named 'StateListBox'.
Line 15: <asp:Content ID="Content3" ContentPlaceHolderID="ContentColumn" runat="server">
Line 16: <asp:WebPartZone ID="WebPartZone1" runat="server">
Line 17: <cc1:StateListBox ID="StateListBox1" runat="server" />
Line 18: </asp:WebPartZone>
Line 19: </asp:Content>
The code itself is copied directly from the downloaded source code.