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

Text search in the RAD Grid

3 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Omarr
Top achievements
Rank 1
Omarr asked on 24 Oct 2008, 03:47 PM
How to find a specific text from javascript function in a RAD grid rows? Now the scenerio is quite complicated as I want to search for a text in a hierarchical child grid. If the search is successful then the related text is highlighted. Any idea how to accomplish this?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Oct 2008, 12:47 PM
Hi,

I have submitted a code library on how to highlight search  the text in a grid  . Check it out and let me know if this helps. This doesn't involve the use of javascript but you can use the RadAjaxManager to ajaxify the page.

http://www.telerik.com/community/code-library/submission/b311D-bbcdtg.aspx

Thanks,
Princy

0
Omarr
Top achievements
Rank 1
answered on 27 Oct 2008, 02:43 PM
No unfortuanately that doesn't help.
Reason:
I want to highlight a text inside a child grid. Pre_render event fires before the DetailTableDatabind event.
Plus, I cannot ajaxify the grid.
Reason:
I am calling a method on a button's click which fetches all the selected(checked) child rows columns' ID. Parent grid item's Expanded property is not set to true if I ajaxify the grid. Probably the reason is the same - execution steps of DetailTableBind event.

 

0
Yavor
Telerik team
answered on 27 Oct 2008, 02:51 PM
Hi Omarr,

Attached to this message, is a small application, which handles a similar setup.
I hope it helps.

Kind regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Omarr
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Omarr
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or