How to use custom filter in RadGrid, not allowing the grid to make its internal filters after you tell him the DataSource for the data entered is already filtered.
Fernando.
1 Answer, 1 is accepted
0
Eyup
Telerik team
answered on 30 Jul 2012, 01:31 PM
Hi Fernando,
Generally, you could use the ItemCommand event to cancel the actual filtering on given condition:
string value = ((e.Item as GridFilteringItem)[field] as GridTableCell).Column.CurrentFilterValue;
if (true)
{
e.Canceled = true;
}
}
}
I hope this will prove helpful.
Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.