title: Client Id for Property (ASP.Net MVC)
body: <p>I'm trying to do a label for a TextBox in my View and I'd like to know, how can I take a Id that will be render in client to generate scripts... for example:</p>
  
  <pre><code>&lt;label for="&lt;%=x.Name.ClientId%&gt;"&gt; Name: &lt;/label&gt;
  &lt;%=Html.TextBoxFor(x=&gt;x.Name) %&gt;
  </code></pre>
  
  <p>What do I need to put in "ClientId" to make sure that the correct Id will be rendered to the corresponding control?</p>