This is a migrated thread and some comments may be shown as answers.

SelectedItem is not binding properly

0 Answers 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shanmuga
Top achievements
Rank 1
Shanmuga asked on 29 Oct 2015, 10:03 AM

Hi

 <telerik:GridViewDataColumn Header="Name" Width="200" ColumnGroupName="BasicInformation" x:Name="test">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<telerik:RadComboBox SelectedValue="{Binding CellId}" x:Name="cbxCells1" SelectionChanged="cbxCells1_SelectionChanged"
SelectedItem="{Binding Path=SelectedCell,Mode=TwoWay}"
SelectedValuePath="CellId"
ItemsSource="{Binding Path=Cells, Source={StaticResource lcgroupconfigurationModel}}"
ItemTemplate="{StaticResource ProjectDataTemplate}"
Command="{Binding CellSelectionChangedCommand, Source={StaticResource lcgroupconfigurationModel}}">                                                   
</telerik:RadComboBox>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>

In my code Command="{Binding CellSelectionChangedCommand, Source={StaticResource lcgroupconfigurationModel}} is working,
when i select any item from Combobox, the SelectedItem is not binding properly. It binding first value only.
How to solve this?​

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Shanmuga
Top achievements
Rank 1
Share this question
or