I couldn't ever go through Page.Controls, I needed to go to the form level, so I do:
'Controls(1) is the HtmlForm object
for each objControl As Control in Page.Controls(1).Controls
if (typeof(objControl) is TextBox) then
'Do whatever
end if
next
Brian
|