ComboBox 1
< combobox grid.column="1" grid.row="1" height="23" horizontalalignment="Center" margin="2,2,0,0" name="comboBoxServer" verticalalignment="Top" width="156" itemssource="{Binding Path=ServerNameList, Mode=OneWay}" selectedindex="0" selecteditem="{Binding SelectedIndex}" selectionchanged="comboBoxServer_SelectionChanged" text="{Binding selectedServer, Mode=OneWayToSource,UpdateSourceTrigger=PropertyChanged}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
< i:InvokeCommandAction Command="{Binding serverCommand}" CommandParameter="{Binding ElementName=comboBoxServer, Path=SelectedValue}"/>
< /i:EventTrigger>
</i:Interaction.Triggers>
</combobox>
ComboBox 2
< ComboBox Grid.Column="1" Grid.Row="2" Height="23" HorizontalAlignment="Center" Margin="2,2,0,0" Name="comboBoxDBName" VerticalAlignment="Top" Width="156" ItemsSource="{Binding Path=DBNameList, Mode=OneWay}" SelectedItem="{Binding serverSelected, Mode=TwoWay}" >
< /ComboBox>
I want that based on first combobox selection, my second combobox gets populated.