I'm hoping this is a silly error
this is the markup
<
telerik:RadClientDataSource
ID
=
"ClaimsDataSource"
runat
=
"server"
EnableServerPaging
=
"true"
EnableServerSorting
=
"true"
AllowPaging
=
"true"
>
<
DataSource
>
<
WebServiceDataSourceSettings
BaseUrl
=
"http://localhost:39338/"
>
<
Select
Url
=
"ui/list/claims"
RequestType
=
"Get"
DataType
=
"JSON"
EnableCaching
=
"true"
/>
</
WebServiceDataSourceSettings
>
</
DataSource
>
<
Schema
DataName
=
"Data"
>
<
Model
>
<
telerik:ClientDataSourceModelField
FieldName
=
"DateofLoss"
DataType
=
"Date"
/>
</
Model
>
</
Schema
>
</
telerik:RadClientDataSource
>
<
telerik:RadGrid
ID
=
"grdCLaims"
runat
=
"server"
ClientDataSourceID
=
"ClaimsDataSource"
AllowPaging
=
"true"
PageSize
=
"2"
AllowSorting
=
"true"
>
<
MasterTableView
ClientDataKeyNames
=
"ClaimItemID"
DataKeyNames
=
"ClaimItemID"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"PolicyNumber"
HeaderText
=
"Policy Number"
/>
<
telerik:GridBoundColumn
DataField
=
"ClientName"
HeaderText
=
"Client"
/>
<
telerik:GridBoundColumn
DataField
=
"DateofLoss"
HeaderText
=
"Date of Loss"
DataFormatString
=
"{0:dd MMM yyyy}"
/>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"true"
/>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
this is the JSON that the service is returning
{
"Data":[
{
"ClientName":"Ethan McWindsor",
"PolicyNumber":"PUMA100558",
"DateofLoss":"2015-12-09T00:00:00",
"ClaimItemID":256,
},
{
"ClientName":"Ethan McWindsor",
"PolicyNumber":"PUMA100558",
"DateofLoss":"2016-11-25T00:00:00",
"ClaimItemID":413,
}
],
"Count":2
}
no matter what i do, the service is getting called three times on the in initial page load
from the network log in chrome
http://localhost:39338/ui/list/claims?take=2&skip=0&page=1&pageSize=2
http://localhost:39338/ui/list/claims?take=2&skip=0&page=1&pageSize=2
http://localhost:39338/ui/list/claims?take=10&skip=0&page=1&pageSize=10
(there is nothing in the code-behind)
any ideas?