Superdopey’s Techblog

17/09/2008
by Ralph de Ruijter
0 comments

Recursive FindControl Method

In tegenstelling tot wat je zou verwachten werkt de FindControl(string id) method niet recursief. Hier een implementatie die vanaf een parentcontrol alle childcontrols recursief doorzoekt naar het controlId. public static T FindControlRecursive<t>(this Control parentControl, string id) where T : Control … Continue reading