Hello.

I'm having some trouble with webusercontrols. I've created one with a checkbox and a textbox. Now, I want to create three of these when my page loads. I'm using this code for that (I'm also using a placeholder):
Code:
WebUserAlternative uc1;

for (int i = 0; i < 3; i++)
	{
                  
            uc1 = (WebUserAlternative)Page.LoadControl("~/WebUserAlternative.ascx");
            uc1.ID = "nr" + i;
            PlaceHolder1.Controls.Add(uc1);
             
        }
Now to my problem.
How do I check the text that has been written in each of those textboxes (the textbox inside the webusercontrol) and if the checkboxes are checked?
I know how to do this when I "pre-create" (not on the fly) one webusercontrol, but I can't figure out how to get the text from all the textboxes etc that are created on page_load.

Damn, that was messy Anyway.. I hope you guys understand my problem.