C# equivalent of jQuery.parents(Type)
<p>In jQuery there is a cool function called .parents('xx') that enables me to start with an object somewhere in the DOM tree and the search upwards in the DOM to find a parent object of a specific type. </p>

<p>Now i'm looking for the same thing within C# code. I have an <code>asp.net panel</code> which sometimes sits in another parent panel, or sometimes even 2 or 3 parent panels and i need to travel upwards through these parents to finally find the <code>UserControl</code> that i'm looking for. </p>

<p>Is there an easy way to do this in C# / asp.net? </p>
