title: Silverlight Web App MVVM
body: <p>I am trying to create a multiple user control silverlight application with MVVM pattern. Here is sample of my first page User control</p>
  
  <pre><code>&lt;Grid x:Name="LayoutRoot" Background="GhostWhite" &gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="100" /&gt;
          &lt;ColumnDefinition Width="*" /&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;Border Grid.Column="0" Width="90"&gt;
          &lt;toolkit:HeaderedContentControl HorizontalAlignment="Left"
        Content="{Binding Path=Commands}"
        ContentTemplate="{StaticResource CommandsTemplate}"
        Header="Control Panel" 
        /&gt;
  &lt;/Border&gt;
  &lt;Border Grid.Column="1"&gt;
      &lt;ContentControl  ContentTemplate="{StaticResource WorkspacesTemplate}" /&gt;
  &lt;/Border&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>My bindings on the Column 0 (list of links) is working fine. Now I would like to bind the views for each of the command to the Column 1 of the grid where I am using the ContentControl. There is no support for DataType in the DataTemplate. The above code where I have used a ContentControl is also not working with IValueConverter Convert(). How do I bind multiple user controls based on selection in the Silverlight Web application.</p>
  
  <p>Thanks,
  Shankar</p>