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

[Solved] Dynamic Search on the Grid

2 Answers 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jols
Top achievements
Rank 2
Jols asked on 26 Mar 2009, 01:19 PM
hello to all,

                i would like to ask again for help to anyone here in telerik forums, here's my question i have one textbox for search and one grid, the data loaded to my grid is connected to my database, now in my column in grid i have Title and the Description column, now if the user want to search any word on the textbox which is txtsearch.text, if ever that word exist on the grid it will be loaded and highligted like for example i want to search the word for description column "Hello" then the grid data on the row on the particular column will highlighted or if he found 2  hello word in the grid it will appear also.. pleaes help

my sample data on the grid:

                    Title                                                              Description
                    Wings of Love                                              Hello to my friend
                    Power of Love                                              Just to say Hello to my friend

sample/code is highly appreciated


2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Mar 2009, 04:17 AM
Hello Jols,

You can refer to the following code library submission which illustrates on how to highlight a string defined through a textbox control inside any given cell that holds that reference and highlight the search word inside the Grid. This should probably help you get started.
SearchAndHighLightKeyWords

Thanks
Princy
0
Jols
Top achievements
Rank 2
answered on 27 Mar 2009, 05:59 AM
sir Princy

                MANY THANKS FOR THE HELP SIR!  ITS REALLY GREAT...
Tags
Grid
Asked by
Jols
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Jols
Top achievements
Rank 2
Share this question
or