Hi

How can I iterate through all the webcontrols on a webform. I am interested in the TextBox controls only.

In a WinForm I could do something like this.

Dim txtControl As Control
For Each txtControl in Me.Controls
If TypeOf(txtControl) Is TextBox Then
' Do something
End If
Next

Thanks in advance

Harold Hoffman