0
kicks
Creating an ItemDataBound Event Delegate for a Nested Repeater
Today I needed to create a nested grid using repeaters. Pretty common but always a pain in the ass with all Microsoft controls. I needed to nest my repeaters just like you’d nest any other control like the DataGrid or GridView. The issue came up for me when I wanted to create a delegate for my nested repeater (repeater inside my parent). Since a nested control within a control (the nested repeater in this case) is not available at the page level, Intellisense or the compiler will not know that it exists. Because it’s nested inside a parent, it becomes pat of that parent’s collection of objects.