Programatically build a reference on a ASPX page using VB
My aspx page has many imagebuttons, Checkboxes, and Labels.
Using VB.net (aspx)
imagebutton1, imagebutton2......
checkbox1, checkbox2....
label1, label2....
What i need is a way to programmatically change the properties of these in a loop. We need an array name for each or a way to reference the names of each so I can operate in a FOR LOOP.
ie imagebutton(i), ie checkbox(i), ie label(i)
For example if I wanted to turn the visible property of imagebutton(20) to imagebutton(50) to false.
Since all objects are imagebutton1, imagebutton2, imagebutton3 etc. how can I programmatically reference the objects and assign their properties.
Since all objects are imagebutton1, imagebutton2, imagebutton3 etc. how can I programmatically reference the objects and assign their properties.

