Hiding ASP.NET Controls from the Toolbox

Posted by: Rick Strahls WebLog, on 22 Jun 2007 | View original | NEW 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....

Advertisement
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1045 | Hits: 96

Similar Posts

  • ASP.NET MVC: DevExpress Mail Demo more
  • New article: How to detect and avoid memory and resources leaks in .NET applications more
  • Export Word documents to XPS - Open XML Paper Specification format more
  • ASP.NET Performance Improvements in DevExpress 2009 volume 2 more
  • Gaia Ajax 3.6 Alpha released: Ajax GridView and Adaptive Rendering ++ more
  • How To Cache Rows In DevExpress ASP.NET GridView more
  • Create or Manage XPDL 1.0 & 2.1 packages using Aspose.Workflow more
  • Application Identifiers (AI) for EAN-128 barcode generation more
  • How to print barcode thermal labels in ASP.NET with ThermalLabel SDK more
  • Create charts & add ad hoc capabilities to .NET Web & WinForm apps more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD