Hello All,
I have a scenario where I have a registration page with a dozen or so user controls that get loaded dynamically. During the load each of these user controls each has a number of custom containers that loads validators based on the container's attributes. The problem I'm having is when I do a search like such...
For Each Val as IValidator in Validators
....
Next
...I'm only seeing...
Search Result
Collapse
2 results in 0.0033 seconds.
Keywords
Members
Tags
-
Finding Validators in User Controls
-
How to loop for controls, in multi user controls?
I want to ask if I can loop in my controls, like textbox, dropdown list or etc, in which they are in a page's user control. The scenario is that, assume I have a page called 'Page.aspx' and I have 3 user controls in that page(uc1, uc2 and uc3) and an asp panel (named PnlTab1) to contain all these controls in each user control. I am using that code to reach my controls:
------------
Code:UserControl uc1, uc2, uc3;