Hello Telerik Team,
How to implement a single search textbox to filter instead of using seperate filter for each column.
Requirements: Textbox and Searchbutton. On click of Searchbutton, search in rad grid, filter and display the filtered results only in grid.
A snippet to make this working is greatly appreciated.
Thanks,
Smith
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 11 Jun 2010, 05:44 AM
Hello Smith,
You can refer the Code Library below for implementing a single filter button for all columns in RadGrid. Hope this helps you.
Single filter button for all columns in RadGrid
Regards,
Shinu.
You can refer the Code Library below for implementing a single filter button for all columns in RadGrid. Hope this helps you.
Single filter button for all columns in RadGrid
Regards,
Shinu.
0
smith spd
Top achievements
Rank 1
answered on 11 Jun 2010, 05:41 PM
Hello Shinu,
Thanks for the reply.
Actually, I don't to make use of searchbox on each column. I would like to use a single simple search textbox and button that would crawl through all the columns and display the grid with narrowed results.
Please note, I am not sure what the columns would be since they are autogenerated.
Would be great if you can help me in this regard.
Thanks,
Smith
Thanks for the reply.
Actually, I don't to make use of searchbox on each column. I would like to use a single simple search textbox and button that would crawl through all the columns and display the grid with narrowed results.
Please note, I am not sure what the columns would be since they are autogenerated.
Would be great if you can help me in this regard.
Thanks,
Smith
0
Shinu
Top achievements
Rank 2
answered on 14 Jun 2010, 06:58 AM
Hello Smith,
I hope this is what you are looking for.
SearchAndHighLightKeyWords
Also refer the following code library.
-Shinu.
I hope this is what you are looking for.
SearchAndHighLightKeyWords
Also refer the following code library.
string search in RadGrid
-Shinu.
0
Jon Ireland
Top achievements
Rank 1
answered on 15 Jul 2010, 07:08 PM
In this example when the button is clicked to filter the grid the filter works but the filtered values are blank when the grid is rebind. Can you provide code that will populate the filter values that where typed in?