Hi,
I have added a sort descriptor as follows:
Now when i open the grid view name column has ascending arrow showing that the grid is programattically set to sort the records ascending, but when i add records to this grid records are added with their names in descending manner. If i change the sort direction to descending in above code then records are sorted in ascending manner. Why records are sorted in opposite direction?
I have added a sort descriptor as follows:
<!-- define initial sorting by name-->
<
telerik:RadGridView.SortDescriptors
>
<
telerik:SortDescriptor
Member
=
"Name"
SortDirection
=
"Ascending"
/>
</
telerik:RadGridView.SortDescriptors
>
Now when i open the grid view name column has ascending arrow showing that the grid is programattically set to sort the records ascending, but when i add records to this grid records are added with their names in descending manner. If i change the sort direction to descending in above code then records are sorted in ascending manner. Why records are sorted in opposite direction?