title: ASP.NET MVC Html.DropDownList populated by Ajax call to controller?
body: <p>I wanted to create an editor template for a field type that is represented as a dropdownlist.  In the definition of the editor template I would like to populate the DropDownList using a call to an action on the controller returning the results as JSON - Any ideas how to do this?</p>
  
  <p>E.g something like:</p>
  
  <pre><code>&lt;%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl&lt;TheFieldType&gt;" %&gt;
  &lt;%= Html.DropDownList(.....
  </code></pre>