title: MVC2 Client-Side Validation for injected Ajax content
body: <p>I am making an Ajax call and adding content to a form inside a MVC2 app.
  I need to update the Client Validation Metadata with the validation for my new content.</p>
  
  <pre><code> &lt;script type="text/javascript"&gt; 
  //&lt;![CDATA[
  if (!window.mvcClientValidationMetadata) { window.mvcClientValidationMetadata = []; }
  window.mvcClientValidationMetadata.push({"Fields":[{"
  ...
  &lt;/script&gt;
  </code></pre>
  
  <p>Is there a way to generate this metadata for a partial view ?</p>
  
  <p>Thanks in advance.</p>