title: Question about Client IDs
body: <p>I have a user control that is emmitting javascript using the ClientId function. For example:</p>
  
  <pre><code>Out &amp;= "ValidatorHookupControlID(" &amp; Quote &amp; ddlMonth.ClientID &amp; Quote &amp; "), document.all(" &amp; Quote &amp; CustomValidator1.ClientID &amp; Quote &amp; "));" &amp; vbCrLf
  </code></pre>
  
  <p>It appears to me that the ClientID function DOES not return the ultimate ID that is sent to the browser. Instead, the ClientID function only appears to be aware of its current parent control, which in this case is a the User Control and so the ID that is returned is the ID "dtmPassportExpirationDate_ddlMonth"</p>
  
  <p>When in fact the usercontrol is included in a master page and the ultimate ID that is used is:</p>
  
  <p>"ctl00_phPageContent_dtmPassportExpirationDate_ddlMonth"</p>
  
  <p>I may be nuts, but that's what it appears to be doing. I expect that the ClientID function would return the ultimate ID used in the HTML.</p>
  
  <p>Am I missing something?</p>