Author: arkhon13 | Posted on: 11/1/2010 8:58:33 AM | Views : 266

Hello i am doing iteration to find a control that i need. I use method below ; findControlRecursive(Page,"txt_ControlThatIneed")

private static Control findControlRecursive(Control parent, string Id)
        {

            if (parent.ID == Id)
                return parent;
            foreach (Control Ctl in parent.Controls)
            {
                Control FoundCtl = findControlRecursive(Ctl, Id);
                if (FoundCtl != null)
           ...

Go to the complete details ...