i get this error when i try to load my gridview with the datapager.
This is the code i am using... what am i doing wrong here:
Using the following version- 2013.1.403.1050
Domain Query:
This is the code i am using... what am i doing wrong here:
Using the following version- 2013.1.403.1050
<
telerik:RadDomainDataSource
x:Name
=
"DataSourceHist"
QueryName
=
"GetHist"
AutoLoad
=
"True"
>
<
telerik:RadDomainDataSource.DomainContext
>
<
domain:HistContext
/>
</
telerik:RadDomainDataSource.DomainContext
>
</
telerik:RadDomainDataSource
>
<
telerik:RadGridView
x:Name
=
"RadGrid_History"
ItemsSource
=
"{Binding DataView, ElementName=DataSourceHist}"
IsBusy
=
"{Binding IsBusy, ElementName=DataSourceHist}"
Grid.Row
=
"1"
RowStyleSelector
=
"{StaticResource fileTransmissionStatusStyle1}"
AutoGenerateColumns
=
"True"
SelectionUnit
=
"Cell"
SelectionMode
=
"Extended"
>
</
telerik:RadGridView
>
<
telerik:RadDataPager
Grid.Row
=
"2"
x:Name
=
"radDataPager2"
PageSize
=
"15"
BorderThickness
=
"1,0,1,1"
Source
=
"{Binding DataView, ElementName=DataSourceHist}"
DisplayMode
=
"All"
AutoEllipsisMode
=
"Both"
NumericButtonCount
=
"10"
/>
Domain Query:
public
IQueryable<EHistrory> GetHist()
{
return
this
._context.EHistrories.OrderByDescending(a=> a.CreatedOn);
}