You can dynamically load templates from files based on the conditions, using
LoadTemplate(). Please refer to http://tinyurl.com/5e2xr for an example.
"stb" <si***@intisi.fsnet.co.uk> wrote in message
news:ek*************@tk2msftngp13.phx.gbl...
Hi.
Is it possible to write inline Templates for a DataList dynamically in the
HTML code, based on the DataSet that is bound to the DataList?
Is there any way of doing it without writing and loading a file, maybe
using the ItemTemplate property and the TemplateBuilder class?
"Shiva" <sh******@online.excite.com> wrote in message
news:eG*************@TK2MSFTNGP12.phx.gbl...
Hi,
You can dynamically load templates from files based on the conditions,
using LoadTemplate(). Please refer to http://tinyurl.com/5e2xr for an example.
"stb" <si***@intisi.fsnet.co.uk> wrote in message news:ek*************@tk2msftngp13.phx.gbl... Hi. Is it possible to write inline Templates for a DataList dynamically in the HTML code, based on the DataSet that is bound to the DataList?