A
astro
I am not farmilar with the object model for webforms.
I want to loop through the web form controls - pulling out the checkboxes on
the form like the following:
For Each ctrl In Me.Controls
If TypeOf ctrl Is CheckBox Then
'do something here.....
End If
Next
This works fine with windows forms of course...
But completely misses the dozen web checkboxes I have on my web form. Is
there an alternative syntax for web forms? Please note that I am not
refering to html checkboxes but the web control checkboxes.
thanks.
I want to loop through the web form controls - pulling out the checkboxes on
the form like the following:
For Each ctrl In Me.Controls
If TypeOf ctrl Is CheckBox Then
'do something here.....
End If
Next
This works fine with windows forms of course...
But completely misses the dozen web checkboxes I have on my web form. Is
there an alternative syntax for web forms? Please note that I am not
refering to html checkboxes but the web control checkboxes.
thanks.