Hi Stefan,
Thanks for your answer, yes your solution works in your solution but not in mine.
I think I wrote a mistake in my first post. In fact it's not datacontext which is altered, this is ItemsSource property which is changed with a RaisePropertyChanged() like in the piece of code below :
in view xaml :
<
telerik:RadGridView
x:Name
=
"GridViewStresses"
ShowGroupPanel
=
"False"
CanUserFreezeColumns
=
"False"
ItemsSource
=
"{Binding SynthesisData}"
IsFilteringAllowed
=
"true"
RowIndicatorVisibility
=
"Collapsed"
CanUserReorderColumns
=
"False"
CanUserResizeColumns
=
"False"
IsReadOnly
=
"True"
Margin
=
"10"
CanUserSortColumns
=
"True"
CanUserDeleteRows
=
"False"
AutoGenerateColumns
=
"False"
Width
=
"Auto"
CanUserInsertRows
=
"False"
CanUserResizeRows
=
"False"
CanUserSelect
=
"False"
CanUserSortGroups
=
"False"
>
<
telerik:RadGridView.Columns
>
...
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
in view model.vb :
Me
.SynthesisData =
Me
._tempData.OrderByDescending(
Function
(d) d.Ratio).ToList()
RaisePropertyChanged(
Function
()
Me
.SynthesisData)
in this case the DatacontextChanged event is not raised.
thanks
regards