Dynamically writing Templates for DataList

  • Thread starter Thread starter stb
  • Start date Start date
S

stb

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?

Anyone know how?
 
Hi,

You can dynamically load templates from files based on the conditions, using
LoadTemplate(). Please refer to http://tinyurl.com/5e2xr for an example.

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?

Anyone know how?
 
Is there any way of doing it without writing and loading a file, maybe
using the ItemTemplate property and the TemplateBuilder class?
 
Back
Top