G
Guest
I am trying to write some code which will find all of the "Label" controls on
the form and change some property.
I started off by iterating over the Page.Controls and looking the the type
of each control to see if it is a label. This does not do the trick. I am
guessing that if a control contains other controls, I am not seeing them. Is
there a property which tells me if the control has other controls within in
it? Would I then itterate thought the collection of controls of that control
looking for labels and controls which contain other controls?
Thanks in advance for your assistance.
the form and change some property.
I started off by iterating over the Page.Controls and looking the the type
of each control to see if it is a label. This does not do the trick. I am
guessing that if a control contains other controls, I am not seeing them. Is
there a property which tells me if the control has other controls within in
it? Would I then itterate thought the collection of controls of that control
looking for labels and controls which contain other controls?
Thanks in advance for your assistance.