title: WPF Prism V2 Using M-V-VM - Add a view at runtime to a region from the ViewModel
body: <p>Hopefully quite a simple one, having my first try at WPF with Prism V2 using M-V-VM and so far finding everything pretty awsome.  My Shell is pretty simple, Ribbon Control at the Top, DataGrid of Help desk tickets on the left, and a TabControl on the right.</p>
  
  <p>When a user opens the selected ticket from the datagrid, I want the Ticket to open as a Tab on the Tab Control.  I know in order to do that I need to add and then activate the View to the region using the RegionManager.  But doing this from the ViewModel doesn't seem correct to me, although I could do it using DI (DepenecyInjection) it still rings alarms in my head about giving the ViewModel some knowledge about a View.</p>
  
  <p>To Add to this, different modules will also be adding other views (Contact, Client etc) into the TabControl, I'd like to use DataTemplates to get the TabControl to display the View Correctly, can anyone give me any pointers for this as well.</p>
  
  <p>Many Thanks
  Ben</p>
  
  <p>Full answers please, not just links.  It's what StackOverflow is for!</p>