Asp.NET custom templated datalist throws argument out of range (index) on button press
- by MrTortoise
I have a class BaseTemplate
public abstract class BaseTemplate : ITemplate
This adds the controls, and provides abstract methods to implement in the inheriting class. The inheriting class then adds its html according to its data source and manages the data binding.
This all works fine - I get the control appearing with properly parsed html.
…