I'm desinging a rich repeater control which needs some controls (specifically just an unordered list) added to it at runtime.
The solution I've opted for is to inject the nesseccary markup, onInit, into the header, item and footer templates respectively.
I can get the templates out (using InstantiateIn) and then add the markup as needed, but I don't know a way to add the template back in to the repeater?
Best Solution
In the past I've simply handled the
ItemDataBound Event
and modified the currentRepeaterItem
with whatever I needed to do.Example: