|
-
Oct 30th, 2002, 04:46 PM
#1
Thread Starter
Member
For Each iteration on a WebForm
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|