This is a migrated thread and some comments may be shown as answers.

Filtering in database

0 Answers 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morpher
Top achievements
Rank 1
Morpher asked on 21 Oct 2011, 04:09 PM
Greetings,

I have a RadGrid in which i am passing the filters and paging to the database, but i am having a problem when filtering by a text column that i truncate in my domain before binding it to the grid.

Whenever i try to filter this column, the filter gets passed all to the database correctly and the correct rows are returned and binded to the Grid, however they are not displayed unless the truncated string that is bound to the grid contains the filter value and this is a problem because i need the filter to use the full string not just the truncated string that gets binded to the grid.

For example:
If i have in the DB the string "Filter Test", show only "Filter" in the grid and try to filter by "Test" i want the row to appear in the grid.

Is there any way to stop the grid from filtering the rows again since i already do the filtering before binding the results to grid?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Morpher
Top achievements
Rank 1
Share this question
or