Cannot set DataSource for nested Repeater
Posted on 2008-11-08
I am trying to create a nested repeater that uses the same BLL layer as the parent repeater.
I have a method which retrieves the data for the nested repeater based on the value of a field retrieved from the parent repeater by a button.
When the repeaters are separated everything works fine - the ItemCommand event of the parent repeater sends the value to the method and the child repeater(not nested) retrieves the correct data. However when I move the child repeater inside the parent repeater, Visual Studio complains that the repeater doesn't exist in the current context - intellisense doesn't recognize the child repeater or DataSource for it.