Hallo,
I've bound an OData service via RadDataServiceDataSource to a RadGridView and a RadDataPager.
Unfortunately the sorting does not work across pages. I've traced trace the server side an found that the orderby property is not set on the query.
The connection is very simple:
<telerik:RadDataServiceDataSource x:Name="_partnerSource" AutoLoad="True" QueryName="AllPartners" />
<telerik:RadDataPager Name="_pager"
Source="{Binding DataView, ElementName=_partnerSource}" IsEnabled="True" PageSize="10"/>
<telerik:RadGridView Name="gridPartner"
AutoGenerateColumns="False" DataLoadMode="Synchronous"
IsFilteringAllowed="True"
ItemsSource="{Binding DataView, ElementName=_partnerSource}">
The
DataServiceQuery<PartnerInfo> AllPartners is take from the Service Reference
What may be missing or wrong?
Greetings Florian