here's something I've implemented earlier
public static Control RecFindControl(ControlCollection controles, string id)
{
return RecFindControl(controles, id);
}
private static Control pausa = null;
public static Control RecFindControl(ControlCollection controles, string id)
{
foreach (Control ctrl in controles)
{
if (ctrl.ID == id)
{
pausa = ctrl;
break;
}
else
RecFindControl(ctrl.Controls, id);
}
return pausa;
}
that method goes to the deepest point of the controls you provide on the parameter (
repeater.Controls
)
the Control you are looking for will be the "pausa".
sorry for the portuguese there and there, nothing you won't be able to read. Let me know.