Ask a Question related to ASP.NET Building Controls, Design and Development.
-
~~~ .NET Ed ~~~ #1
Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'
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; }
}
}
~~~ .NET Ed ~~~ Guest
-
String Array Property produces Parser Error
Dear readers, I'm having problems with creating a custom control that accepts an array of strings as a property. First I used the following code... -
Error while using 'ControlState' property in my custom control
My name is Pavan and I am a software engineer working on ASP .Net web development. Currently I am using .Net 2.0 Professional Edition to... -
Parser Error: Type XYZ does not have a property named 'cc3:MyItems' (complete posting) ASP.NET Web Control Error
I am having problems trying to get this part of the functionality working on my control and I hope somebody has a clue about how to resolve it. ... -
Error Setting user control property at web form
Dear Friends Hope things goes well to you. I have this problem. Would you please give me your solution? I want to change a property that I... -
Error creating control file
Hi, I have two 9i databases with sid 'dev1' and 'dev2'. The control files for 'dev1' got messed up, and I have to recreate them. When I try to...



Reply With Quote

