Hello all,
I am trying to iterrate through a collection of Textbox controls which are already built on the page within a contentplaceholder.
However when I use the following code to test the loop the system cannot seem to find any controls in the page.
1 'aacess_Industry_AddIndustry2 is the current page in which the desired
2 'textbox controls are located in a contentplaceholder. Me.controls only reference the masterpage not the desired page.
3
4 Dim AddIndustry2 As New aacess_Industry_AddIndustry2
5 Dim Control As Control
6
7 For Each Control In AddIndustry2.Controls
8 ...
Go to the complete details ...