
This VIDEO TUTORIAL will demonstrate why the inner repeater did NOT show up in the earlier step. In order to display the inner repeater with corresponding products belong to a particular category, the declarative markup is modified and an additional ObjectDataSource titled ‘ProductsByCategoryDataSource’ which retrieves product information based on a particular CategoryID. The outer repeater control will pass the CategoryID to the inner repeater through the first repeater’s (CategoryList) ItemDataBound event handler. This will make the second repeater (ProductsByCategoryList) to enumerate its data source and display the corresponding products that belong to a particular category. In addition, this step will also demonstrate on how to programmatically emit the inner repeater’s markup at run time by creating a custom function. For detailed information and source code for this step, please refer to the original article.