Hello
It seems by default, RadGrid applies client-side filtering on columns. When I press enter on a column, I can see at the end, client side filter is being applied. Is there any property to disable it? Here is a sample:
<
telerik:RadGrid
AutoGenerateColumns
=
"False"
ID
=
"grdInProgressTasks"
runat
=
"server"
Width
=
"100%"
AllowMultiRowSelection
=
"true"
AllowSorting
=
"true"
AllowPaging
=
"true"
OnNeedDataSource
=
"grdInProgressTasks_NeedDataSource"
CssClass
=
"grdTasks pro-responsive"
OnItemDataBound
=
"GrdInProgressTasks_ItemDataBound"
OnItemCommand
=
"grdInProgressTasks_ItemCommand"
>
<
MasterTableView
DataKeyNames
=
"CrmObjectId,ProcessInstanceTypeIndex,Description, ColorR,ColorG,ColorB"
ClientDataKeyNames
=
"Id,CrmObjectId,ProcessInstanceTypeIndex"
AllowCustomPaging
=
"true"
AllowFilteringByColumn
=
"true"
>
<
Columns
>
<
septa:LocalizedBoundColumn
DataField
=
"DSenderId"
HeaderResourceKey
=
"General.Literal.AssignedFrom"
/>
<
septa:LocalizedBoundColumn
DataField
=
"CrmObjectSubject"
HeaderResourceKey
=
"General.Literal.General_Subject"
/>
<
septa:LocalizedTemplateColumn
DataField
=
"NickName"
HeaderResourceKey
=
"General.Literal.CrmHistory_IdentityName"
>
<
ItemTemplate
>
<
a
href
=
"/_SiteCommon/Handler/IdentityFinder.ashx?Id=<%# Eval("
IdentityId") %>" target="_blank"><%# Eval("NickName") %></
a
>
</
ItemTemplate
>
</
septa:LocalizedTemplateColumn
>
<
septa:LocalizedGridDataBoundColumn
DataField
=
"DRelatedToId"
HeaderResourceKey
=
"General.Literal.erja"
/>
<
septa:LocalizedGridDataBoundColumn
DataField
=
"DRelatedToTypeIndex"
HeaderResourceKey
=
"General.Literal.ReferType"
AllowSorting
=
"false"
/>
<
septa:LocalizedGridDataBoundColumn
DataField
=
"DCardtableStatusIndex"
HeaderResourceKey
=
"General.Literal.Status"
AllowSorting
=
"false"
/>
<
septa:LocalizedGridDataBoundColumn
DataField
=
"DDoneCauseIndex"
HeaderResourceKey
=
"General.Literal.End"
AllowSorting
=
"false"
/>
<
septa:LocalizedBoundColumn
DataField
=
"CreateDatePersian"
HeaderResourceKey
=
"General.Literal.CreateDate"
/>
<
septa:LocalizedGridDataBoundColumn
DataField
=
"LifePathType"
HeaderResourceKey
=
"General.Literal.Type"
AllowSorting
=
"false"
/>
</
Columns
>
<
NoRecordsTemplate
>
<
div
class
=
"clearfix text-center"
>
<
septa:LocalizedLiteral
runat
=
"server"
ResourceKey
=
"Res.General.Literal.UcUserTasks_AnyCaseDefined"
></
septa:LocalizedLiteral
>
</
div
>
</
NoRecordsTemplate
>
</
MasterTableView
>
<
ClientSettings
EnableRowHoverStyle
=
"true"
EnableAlternatingItems
=
"false"
AllowDragToGroup
=
"True"
AllowColumnsReorder
=
"True"
>
<
Selecting
AllowRowSelect
=
"true"
EnableDragToSelectRows
=
"true"
/>
<
ClientEvents
OnRowDblClick
=
"RowDblClick"
OnRowContextMenu
=
"onRowContextMenu"
/>
<
Resizing
AllowColumnResize
=
"true"
></
Resizing
>
</
ClientSettings
>
</
telerik:RadGrid
>
And here is my columns:
public
class
LocalizedBoundColumn : GridBoundColumn
{
public
LocalizedBoundColumn()
{
this
.AutoPostBackOnFilter =
true
;
this
.CurrentFilterFunction = GridKnownFunction.Contains;
this
.AutoPostBackOnFilter =
true
;
this
.ShowFilterIcon =
false
;
}
// ...
}