title: How do I avoid .Parent.Parent.Parent. etc. when referencing control hierarchies?
body: <p>I'm trying to fix this ugly code.</p>
  
  <pre><code>RadGrid gv = (RadGrid) (((Control) e.CommandSource).Parent.Parent.Parent.Parent.Parent);
  </code></pre>
  
  <p>I often need to find the first grid that is the parent of the parent of... etc of a object that just raised an event.</p>
  
  <p>The above tends to break when the layout changes and the number of .Parents increase or decreases.</p>
  
  <p>I don't necessarily have a control Id, so I can't use FindControl().</p>
  
  <p>Is there a better way to find the 1st parent grid?</p>