Collection Properties, Child Items and Page and Parent References in ASP.NET Custom Controls

Posted by: Rick Strahls WebLog, on 13 May 2006 | View original

I'm running into some problems with a custom control I'm workign on that includes a collection property. The collection contains child controls (well DataBindingItems) and I have all of the collection loading and display logic working just fine.   However, I'm running into a problem where the Collection items need a reference back to the Page object and the parent control and I can't figure a way to reliably do this.   Here's the collection property defined inside of the control:   /////...

Advertisement

Similar Posts

  • Fun Iterating PagedCollections With Generics and Iterators more
  • Recipe: Dynamic Site Layout and Style Personalization with ASP.NET more
  • Passing Values Between Pages in ASP.NET 1.x and 2.0 more
  • Master Pages and Content Pages in WSS 3.0 more
  • Templates - Part 1 more
  • Templates - Part 2 more
  • Implementing pagination with Atlas: an example more
  • Building a Pager control with the Atlas framework more
  • Circular File References and Other ASP.NET 2.0 / VS 2005 Conversion Issues more
  • Interesting bug in Saxon.NET/Mono/OSX usage more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | 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