extract controls of a repeater template at runtime.

  • Thread starter Thread starter volkmar rigo
  • Start date Start date
V

volkmar rigo

hi.

is there a way to access the controls of a repeater template at
runtime? i tried the GetFields method to extract all the controls of
the repeater as FieldInfoArray but that array contails only ITemplate
objects. i want to do this before i call the bind of the repeater so
items are not available.

kind regards

volkmar
 
the problem is, that i don't know the names of the controls. i want to
create a method that extracts all the labels of a given page
(including the labels in the repeater controls) and extracts all the
texts to a text file.
 
you have to use recursion, as each control can have children controls.

-- bruce (sqlwork.com)
 
i tried that. but the children of a repeater control are
CompiledTemplateBuilder-objects (ITemplate) and there stops
my recursion...
 
Back
Top