Hello,
I have a
web forms application, which has a page with a Telerik RadGrid. This grid is
bound using the NeedDataSource event and I have changed most of the columns to
CustomFilteringColumns. In one of them I am using a line like this one:
((GridFilteringItem) ((filterControl).Parent)).FireCommandEvent(
"Filter"
,
new
Pair(
"Custom"
,
"Status"
));
to filter
the orders that this grid contains. Since there are quite a few of them /more
than 1000/ I get an error
‘Sys.WebForms.PageRequestManagerTimeoutException:
The server request timed out.’
I
understand that one possible way to fix that is to use a linq query with a
where clause, which will serve as a filter.
My questions are: what is the best way to solve this problem? If it is using linq, how should I implement this filter?