title: How to Dynamically load EXTERNAL MVVM and NON MVVM controls using Caliburn Micro
body: <p>I am loading controls dynamically from the web server from separate XAP files. After creating an instance I want to show them in tab Pages. The controls can be MMVM controls using CM but also non MVVM standard controls.</p>
  
  <p>Before trying the tab I tested to simply show a control dynamically on the page by using:</p>
  
  <pre><code>&lt;ContentControl Name="TestControl" /&gt;
  </code></pre>
  
  <p>Test control is a property of Type UserControl which is set via creating a new Instance of a dynamically loaded control. Now this gives me an error that it can't find the view. In case of non MVVM controls there is of course no view, so how do I load  a non MVVM control?</p>
  
  <p>I tried to make the test control a MVVM control, but still get the cannot load view error. Makes sense as such instance is not created. If I create an instance of the dynamically loaded view besides the view model, how do I "Add" this so that CM finds it?</p>
  
  <p>Last but not least, how do I bind this to a tab control in Silverlight? The idea is to have a collection of user controls (plugins) which each is rendered in its separate tab page.</p>
  
  <p>Thanks for any help.</p>
  
  <p>(I got this done in no time NOT using MVVM, still not sure if MVVM is worth all the complexity)</p>