Hiding ASP.NET Controls from the Toolbox
Posted by: Rick Strahls WebLog,
on 22 Jun 2007 |
View original | Bookmarked: 0 time(s)
I've often built custom ASP.NET controls that contain other custom child controls. For example, I have a DataBinder control that contains individual DataBindingItems which are based on Control. The problem is that by default these child controls show up on a control list. Here's what the Visual Studio auto-configured control list looks like for my controls: The highlighted controls are child controls that shouldn't be there. This is only an issue if the child items derive from System.Web.UI.Control....