>I am probably not explaining myself well. I think I can find each control of the page but I can't find a function to determine what type of a control it is. That is, if I get a reference to a control MyControl, I don't know how to find out what type it is.
I use:
If TypeOf loControl Is System.Web.UI.HtmlControls.TextBox Then
...
End If
But, you might want to search for related topics on this. Cetin provided another approach which is more robust.