AjaxControlToolkit.Accordion.FindControl C# (CSharp) Метод

FindControl() публичный Метод

Override FindControl to look first at this control, then check each of its child AccordionPanes for the control
public FindControl ( string id ) : Control
id string ID of the control to find
Результат System.Web.UI.Control
        public override Control FindControl(string id)
        {
            var ctrl = base.FindControl(id);
            if(ctrl == null)
                foreach(var pane in Panes) {
                    ctrl = pane.FindControl(id);
                    if(ctrl != null)
                        break;
                }
            return ctrl;
        }