This question is locked. New answers and comments are not allowed.
Hi,
Can please someone help why sorting is not happening eventhough CanuserSort is set to true for the column with radcombox which is inside the celledittemplate of telerik radgrid in silverlight.
please find below the xaml,
<telerik:RadGridView CanUserSortColumns="True"
ShowInsertRow="False"
ShowGroupPanel="False">
<telerik:GridViewDataColumn IsReorderable="False"
IsFilterable="False"
UniqueName="State"
DataMemberBinding="{Binding SelectedState}"
CellTemplateSelector="{StaticResource StateTemplateSelector}">
<telerik:GridViewColumn.Header>
<TextBlock>
<Run>State</Run>
<Run Foreground="Red"
FontWeight="Bold">*</Run>
</TextBlock>
</telerik:GridViewColumn.Header>
<telerik:GridViewColumn.CellEditTemplate>
<DataTemplate>
<telerik:RadComboBox ItemsSource="{Binding StateCountyValueModel.States}"
DisplayMemberPath="StateAbbr"
SelectedItem="{Binding SelectedState, Mode=TwoWay}">
</telerik:RadComboBox>
</DataTemplate>
</telerik:GridViewColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
Can please someone help why sorting is not happening eventhough CanuserSort is set to true for the column with radcombox which is inside the celledittemplate of telerik radgrid in silverlight.
please find below the xaml,
<telerik:RadGridView CanUserSortColumns="True"
ShowInsertRow="False"
ShowGroupPanel="False">
<telerik:GridViewDataColumn IsReorderable="False"
IsFilterable="False"
UniqueName="State"
DataMemberBinding="{Binding SelectedState}"
CellTemplateSelector="{StaticResource StateTemplateSelector}">
<telerik:GridViewColumn.Header>
<TextBlock>
<Run>State</Run>
<Run Foreground="Red"
FontWeight="Bold">*</Run>
</TextBlock>
</telerik:GridViewColumn.Header>
<telerik:GridViewColumn.CellEditTemplate>
<DataTemplate>
<telerik:RadComboBox ItemsSource="{Binding StateCountyValueModel.States}"
DisplayMemberPath="StateAbbr"
SelectedItem="{Binding SelectedState, Mode=TwoWay}">
</telerik:RadComboBox>
</DataTemplate>
</telerik:GridViewColumn.CellEditTemplate>
</telerik:GridViewDataColumn>