Question:
How to add templates programmatically to a templated control?How to programmatically set templates, events, databinding on a repeater in asp.net?
Answer:
Normally you could create your own ITemplate and implement the InstantiateIn method.But there is another way by using CompiledTemplateBuilder.
This is explained in a very clear article here:
Using Templated Controls Programmatically
there is nothing to add ...
No comments:
Post a Comment