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

[Solved] Single Searchbox to filter and display

4 Answers 297 Views
Grid
This is a migrated thread and some comments may be shown as answers.
smith spd
Top achievements
Rank 1
smith spd asked on 10 Jun 2010, 07:57 PM

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

Sort by
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.



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
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.

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?
Tags
Grid
Asked by
smith spd
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
smith spd
Top achievements
Rank 1
Jon Ireland
Top achievements
Rank 1
Share this question
or