title: In ASP.NET how do I find the Control ID of a TextBox that is nested within a DetailsView which is then nested in an AJAX UpdatePanel control?
body: <p>n ASP.NET how do I find the Control ID of a TextBox that is nested within a DetailsView which is then nested in an AJAX UpdatePanel control ?</p>
  
  <p>The heirachy is: UpdatePanel1 -> dvContentDetail (DetailsView Control) -> TextBox2</p>
  
  <p>I have tried something like the following but just says that the object isn't found:</p>
  
  <pre><code>UpdatePanel1.FindControl("dvContentDetail").FindControl("TextBox2").ClientID
  </code></pre>