Last post Aug 07, 2007 04:19 PM by PLBlum
Aug 07, 2007 11:22 AM|joseph.nowak|LINK
Aug 07, 2007 04:19 PM|PLBlum|LINK
Take a look at the concept of "naming containers" in the asp.net docs. The FindControl() method searches the list of controls in the naming container of the control that you called it from. In your case, its MyControl's naming container. A naming container
implements the INamingContainer interface. Common cases are user controls, rows of the gridview, and many complex controls. So be sure your MyControl is inside the desired naming container before using FindControl.