Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Innumerate trough the controls on the ASP.Net Web Form

0 views
Skip to first unread message

David Shvartsman

unread,
Dec 26, 2002, 4:09:44 PM12/26/02
to
Is it away to innumerate trough the all the controls on
the ASP.Net Web Form?
Thank you in advance

Wayne

unread,
Dec 26, 2002, 8:17:49 PM12/26/02
to
Hi,

try something like this
Dim objField As New Control()
Dim objSub As Control

For Each objField In PageControls
For Each objSub In objField.Controls
sFieldName = objSub.ClientID
next
next

Wayne

"David Shvartsman" <dav...@deweb.net> wrote in message
news:012401c2ad23$1d34dee0$d7f82ecf@TK2MSFTNGXA14...

David Shvartsman

unread,
Dec 27, 2002, 10:51:54 AM12/27/02
to
Hello, Thank you very much for your reply
Worked great, i just had to use Me.Controls instead of
PageControls. Do you know how to disable a particular
control on the form while Innumerate trough the collaction?

Thank you again.

>.
>

0 new messages