UPDATED:
Starting with version 14.2, GridView provides the built-in Search / Find Panel functionality with the capability to locate it outside grid boundaries. This allows accomplishing a similar task with less effort and does not require so much extra code. See the ASP.NET Data Grid: Enhancements post to learn more about this new functionality.
This example demonstrates how to implement the searching functionality in ASPxGridView.
Note that this approach has some limitations:
- It works only for rows that are currently visible in the GridView. So, it works only for expanded group rows.
- It performs searching only in cell values. So, it will not work for cells with a custom text or for the ComboBox column's TextField values.
- As the String.Contains method is used for search, the search is case-sensitive.
See also:
ASPxGridView - creating external filter with the ASPxTextBox and highlighting search text