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....

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1555 | Hits: 98

Similar Posts

  • Prototyping with SketchFlow more
  • RadControls for WPF official release more
  • Intersoft WebUI Studio 2008 R2 SP1 is Now Available more
  • Silverlight Sessions at DevTeach Montreal 2008 more
  • Control Freak. more
  • WPF Presence Controls for Office Communicator 2007 more
  • 44 Silverlight Videos more
  • Advanced ASP.NET AJAX Server Controls more
  • Telerik Unveils RadControls for ASP.NET AJAX Q1 2008 more
  • Silverlight Ux Musings: New Control Skin Set [Corrina Barber] 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