|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
I have a user control on my form. How do I loop thought
user control to find out what controls are used and the value of controls? On user control there is some textbox, label etc. depending on a passing value to a user control different controls are displayed. Thanks foreach (Control c in MyUserControl.Controls)
{ } -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > I have a user control on my form. How do I loop thought > user control to find out what controls are used and the > value of controls? > On user control there is some textbox, label etc. > depending on a passing value to a user control different > controls are displayed. > Thanks When I loop I can't see this control value. Why?
<span id="mycontol_lblCompany" style="font- weight:bold;">Company</span> |
|||||||||||||||||||||||