RadGrid using Webservice binding with clientside cache but not export data.(Xls,csv)
This is my code:
<telerik:RadGrid
ID
=
"RadGrid2"
AllowSorting
=
"true"
AllowPaging
=
"true"
AllowFilteringByColumn
=
"true"
AutoGenerateColumns
=
"false"
runat
=
"server"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
>
<
CommandItemSettings
ShowExportToCsvButton
=
"True"
ShowExportToExcelButton
=
"True"
/>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"Id"
HeaderText
=
"Id"
/>
<
telerik:GridBoundColumn
DataField
=
"Name"
HeaderText
=
"Name"
/>
</
Columns
>
<
PagerStyle
AlwaysVisible
=
"True"
></
PagerStyle
>
</
MasterTableView
>
<
PagerStyle
AlwaysVisible
=
"true"
/>
<
ClientSettings
>
<
DataBinding
Location
=
"~/mywebservice.asmx"
EnableCaching
=
"true"
SelectMethod
=
"GetFacilityListCH"
/>
</
ClientSettings
>
</
telerik:RadGrid
>