FindControl() from UserControl inside a for loop
- by Kyle
I'm creating a usercontrol that will have a series of LinkButtons.
I've declared all of my link buttons at the top of my class
LinkButton LB1 = new LinkButton();
LinkButton LB2 = new LinkButton();
//...
LinkButton LB9 = new LinkButton();
now I'd like to be able to create a loop to access all of those link buttons so I don't have to write them…