Hi,
I understand For Each ctl As WebUIControl In Controls iterates through all controls in a container, but I want to process them in a specific order,
I’ve managed to build an array of webcontrol.controlIDs sorted by tab order…
var CtlID(999) as String
var i as Integer = 0
For Each ctl As WebUIControl In Controls
CtlID(ctl.TabIndex) = ctl.ControlID
i = max(i,ctl.TabIndex)
Next
How can I loop through the array processing each control in the taborder?
6 posts - 3 participants