Finding Controls In A Data-Bound Template
<p>I'd like to find out if a certain type of control exists on a page. It's easy enough to iterate through the Controls collection recursively but I'd also like to check on first load whether the control exists in any of the templates  (ContentTemplate, EditItemTemplate, ItemTemplate, SelectedItemTemplate etc) contained in a control as well. Does anyone know if its possible, and if so how? There doesn't appear to be a Templates collection per se and it isn't obvious how to query an ITemplate for its contents.</p>

<p>Thanks in advance.</p>
