I have a Silverlight RadGridview in which i have a cell which contains the RadComboBox, the celltemplate is as below,
<telerikGrid:GridViewDataColumn.CellTemplate>
<DataTemplate>
<telerikInput:RadComboBox Margin="2" VerticalAlignment="Center"
IsEditable="True" ItemsSource="{Binding SchoolGender}"
SelectedItem="{Binding SelectedGender, Mode=TwoWay}">
</telerikInput:RadComboBox>
</DataTemplate>
</telerikGrid:GridViewDataColumn.CellTemplate>
I am trying to bind the ItemsSource to "SchoolGender" which is a ObservableCollection<string>. Also i am trying to bind the SelectedItem to "SelectedGender" which is a string property.
Issues:
1) The binding works fine for some rows and does not work for some rows.
2) When i scroll the grid using the vertical scroll bar, the selected item of the combobox becomes null.
Is this a known issue? Is there any workaround for this?
Regards
N.Surendra Prasad