Hello,
I found an issue with the RadDomainDataSource; if i use the following code:
This works perfectly ok, but if i leave out the QueryName here and set it from code-behind i see in fiddler that it is not using Take anymore on the ria calls. This causes the entire customers list to load and eventually crashes iexplore due to memory issues (> 2GB)
Yesterday i posted this on a forum as well, but for some strange reason i cannot find the posting back so therefore i'm issueing this as a bug right now; you may remove the posting if needed / found.
Regards,
Piet
I found an issue with the RadDomainDataSource; if i use the following code:
<
telerik:RadDomainDataSource
x:Name
=
"grdDataSource"
PageSize
=
"20"
AutoLoad
=
"True"
QueryName
=
"GetCustomers"
>
<
telerik:RadDomainDataSource.DomainContext
>
<
myService:myContext
/>
</
telerik:RadDomainDataSource.DomainContext
>
<
telerik:RadDomainDataSource.SortDescriptors
>
<
telerik:SortDescriptor
Member
=
"Id"
SortDirection
=
"Ascending"
/>
</
telerik:RadDomainDataSource.SortDescriptors
>
</
telerik:RadDomainDataSource
>
<
telerik:RadGridView
x:Name
=
"grdData"
SelectionMode
=
"Single"
IsReadOnly
=
"True"
VerticalAlignment
=
"Top"
AutoGenerateColumns
=
"True"
ItemsSource
=
"{Binding PagedSource, ElementName=grdPager}"
IsBusy
=
"{Binding IsBusy, ElementName=grdDataSource}"
/>
<
telerik:RadDataPager
x:Name
=
"grdPager"
PageSize
=
"10"
Source
=
"{Binding DataView, ElementName=grdDataSource}"
DisplayMode
=
"FirstLastPreviousNextNumeric, Text"
IsTotalItemCountFixed
=
"True"
/>
This works perfectly ok, but if i leave out the QueryName here and set it from code-behind i see in fiddler that it is not using Take anymore on the ria calls. This causes the entire customers list to load and eventually crashes iexplore due to memory issues (> 2GB)
Yesterday i posted this on a forum as well, but for some strange reason i cannot find the posting back so therefore i'm issueing this as a bug right now; you may remove the posting if needed / found.
Regards,
Piet