Finding Child Item Controls in ASP.NET
Posted by: Rick Strahls WebLog,
on 27 Jun 2007 |
View original | NEW Bookmarked: 0 time(s)
I was mucking around with some old control code today where I have a control that has an array of child items. While making some modifications I realized that I really wanted to make some of these controls available as child controls.
But alas it turns that ASP.NET is not readily firing any 'add' control methods (AddParsedSubObject and CreateChildren) when a control is not a direct child of the parent.
So for example, I have a TabControl that looks like this:/// <summary>
/// Summary description...