Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'

Posted: 11-10-2004, 04:24 PM
I am having problems getting this webcontrol working properly. Everything
else works fine except having items. So here is the low-down on the control:

1. The control class is declared as shown below (only relevant code
presented). Notice that it contains a collection of items (not presented
here for the sake of clarity):

[DesignerAttribute(typeof(DocHeaderDesigner), typeof(IDesigner)),
DefaultProperty("Items"),
ToolboxData("<{0}:DocHeader runat=server></{0}:DocHeader>")]
public class DocHeader : System.Web.UI.WebControls.WebControl,
INamingContainer
{
// This member holds all the items associated with this control
private DocHeaderItemCollection items = new DocHeaderItemCollection();

// And this is the accessor property
public DocHeaderItemCollection Items
{
get { return this. items; }
set { this.items = value; }
}

}



Reply With Quote

Responses to "Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'"

 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
#36798 [Opn->Csd]: mysql error when using named parameters in a query with high ascii iliaa@php.net PHP Bugs 0 12-05-2006 05:06 PM
Error message XObject named '3' Kinga_Dow@adobeforums.com Adobe Acrobat Macintosh 0 07-27-2004 10:21 PM
Parser Error Message in Global.asax.cs Matija Brnetic ASP.NET Security 1 05-18-2004 12:36 AM
Parser Error Message: Could not load type - Please HELP mp ASP Components 3 12-29-2003 06:07 AM
Error Setting user control property at web form Amir Eshterayeh ASP.NET Building Controls 1 11-27-2003 05:41 AM