title: Dynamically loading partial view
body: <p>For a project I need a dynamic way of loading partial views, preferably by jquery / ajax.</p>
  
  <p>Here's the functionality I require:</p>
  
  <ul>
  <li>User enters form. A dropdownlist is shown and a generic partial view is rendered with some input controls.</li>
  <li>User selects a different value in the dropdown</li>
  <li>The partial view refreshes. Based on the value of the dropdown, it should load the partial view. Some values have custom views associated with them (I could name them with the primary key for instance), others don't. When there's no custom view; it should load the default. When there is one, it should of course load the custom one.</li>
  </ul>
  
  <p>And this should all be ajaxified when possible.</p>
  
  <p>I have read some things about dynamically loading partials, but I wanted to repost the complete case so I can find the best solution for this specific case.</p>