B
Brendon
I have created a custom composite server control. When I drag the control
from the toolbox into Visual Studio it does not display in Visual Studio,
instead it shows the littel green arrow and nothing else. When I run the
application it shows the LiteralControl that I have added. Does anyone know
what I might be missing to make it also show up in Visual Studio? I have
included the entire class that I am trying to make.
Thanks,
Brendon
[ToolboxData("<{0}:NextEvent runat=server></{0}:NextEvent>")]
public class NextEvent :
System.Web.UI.WebControls.WebControl,INamingContainer
{
protected override void CreateChildControls()
{
Controls.Add(new LiteralControl("<h3>Enter a number : </h3>"));
}
}
from the toolbox into Visual Studio it does not display in Visual Studio,
instead it shows the littel green arrow and nothing else. When I run the
application it shows the LiteralControl that I have added. Does anyone know
what I might be missing to make it also show up in Visual Studio? I have
included the entire class that I am trying to make.
Thanks,
Brendon
[ToolboxData("<{0}:NextEvent runat=server></{0}:NextEvent>")]
public class NextEvent :
System.Web.UI.WebControls.WebControl,INamingContainer
{
protected override void CreateChildControls()
{
Controls.Add(new LiteralControl("<h3>Enter a number : </h3>"));
}
}