Last post Jul 19, 2009 08:14 AM by Wardy
May 24, 2007 11:19 AM|Wardy|LINK
Ok so the plan is that I have a collection of objects that makes up my datasource.
I want to iterate through each object and template it in a manner that suits its type.
my html code would be something like this ...
Any ideas ?
I was thinking about making an abstract base as my generic templated control then for each possible generic use i had for this i could just derive from this control.
I don't think the control class itself needs to be generic it just needs to be able to instantiate a generic template object and pass it a class instance of any business object that I happen to have to hand.
Jul 19, 2009 08:14 AM|Wardy|LINK
I'm guessing templating is a complex beast that few wish to approach at this level. oh well :(