Avatar of Terrace
Flag for United States of America

asked on 

Detect and Collect into an array all Web Controls from a VB.NET Web page

I have a simple Web form project (VB.NET, VS 2003).

My Web forms have textboxes, dropdownlists, check boxes, radio buttons web controls.

I would like to do following:

On page load, I would like to automatically detect all Web controls on that page and collect their names and types into an array.

Then I would go through that array and perform some other stuff on each web control based on their types (textbox, checkbox, dropdownlist etc).

.NET Programming

Avatar of undefined
Last Comment

8/22/2022 - Mon