<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Find Controls in Controls recursively using Generics</title>
	<atom:link href="http://dotnetting.wordpress.com/2007/03/24/find-controls-in-controls-recursively-using-generics/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetting.wordpress.com/2007/03/24/find-controls-in-controls-recursively-using-generics/</link>
	<description>.NET tips, tricks, discussion</description>
	<lastBuildDate>Mon, 06 Apr 2009 03:58:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yordan Georgiev</title>
		<link>http://dotnetting.wordpress.com/2007/03/24/find-controls-in-controls-recursively-using-generics/#comment-518</link>
		<dc:creator>Yordan Georgiev</dc:creator>
		<pubDate>Thu, 27 Mar 2008 14:22:45 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetting.wordpress.com/2007/03/24/find-controls-in-controls-recursively-using-generics/#comment-518</guid>
		<description>public static Control FindControlRecursive (ref Control root, ref string id )
{
    if (root.ID == id)
        {
        return root;
        }

    foreach (Control c in root.Controls)
        {
        Control a = c;
        Control t = FindControlRecursive ( ref a, ref id );
        if (t != null)
            {
            return t;
            }
        }

    return null;
} //eof FindControlRecursive</description>
		<content:encoded><![CDATA[<p>public static Control FindControlRecursive (ref Control root, ref string id )<br />
{<br />
    if (root.ID == id)<br />
        {<br />
        return root;<br />
        }</p>
<p>    foreach (Control c in root.Controls)<br />
        {<br />
        Control a = c;<br />
        Control t = FindControlRecursive ( ref a, ref id );<br />
        if (t != null)<br />
            {<br />
            return t;<br />
            }<br />
        }</p>
<p>    return null;<br />
} //eof FindControlRecursive</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seree</title>
		<link>http://dotnetting.wordpress.com/2007/03/24/find-controls-in-controls-recursively-using-generics/#comment-176</link>
		<dc:creator>Seree</dc:creator>
		<pubDate>Sat, 04 Aug 2007 14:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetting.wordpress.com/2007/03/24/find-controls-in-controls-recursively-using-generics/#comment-176</guid>
		<description>I never see this! Really helpful.</description>
		<content:encoded><![CDATA[<p>I never see this! Really helpful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
