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

[Solved] Effective Method for searching and filtering / highlighting strings in RadGrid containing GridTemplateColumns

3 Answers 233 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bernard
Top achievements
Rank 2
Bernard asked on 25 Jul 2013, 08:52 AM
Hello Everyone,

Has anyone here ever successfully implement the scenario I stated above? I have tried several ways accomplish this starting from using the grid's OnPreRender Event to intercept values down to the more conventional FilterExpression method. Unfortunately Telerik has been extremely rigid in this area. I've scoured (practically) all over the web to find viable solution for this to no avail. It seems that telerik control do have some dead ends.

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 30 Jul 2013, 08:02 AM
Hi Bernard,

You can use the script logic demonstrated in the following code-library to filter or highlight the content of grid items loaded on the current page:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/quick-search---filtering-rows-depending-on-entered-text-instantly-when-paging-is-disabled.aspx

Hope this helps.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Bernard
Top achievements
Rank 2
answered on 30 Jul 2013, 08:10 AM
Hi Eyup,

Thanks for responding, but i was hoping to be able to do this from the server side thus  extending it's capability to search and highlight results beyond one single page ( as it is impractical to skim thru pages and performing the search at every page), turning off paging will somewhat makes the layout looks extremely bulky if you have hundreds or even thousands of records. anyway i'll consider your suggestion while searching for a better more viable solution to my problem.
0
Eyup
Telerik team
answered on 02 Aug 2013, 07:47 AM
Hello Bernard,

You can achieve the same functionality with grid containing multiple pages using Ajax. For example, you can check out the FilterDelay feature implemented out-of-box:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx

I hope this will prove helpful.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Bernard
Top achievements
Rank 2
Answers by
Eyup
Telerik team
Bernard
Top achievements
Rank 2
Share this question
or