简体   繁体   中英

how to implement text search functionality like report viewer control search in gridview?

Kindly let me know how can i implement the search functionality on a gridview the one same like in report viewer control that takes you to the searched text.

I have searched a lot, but no luck.

Any suggestion is welcome.Just need to be pointed in the correct direction.

UPDATE

Also i just had a quick idea looking at the browsers search, example: press ctrl+f and the browsers find tab appears, works the exact way i want it to. Can i force it to appears on the page, when using the website? OR implement it in the code something like that?

Thank you

Take a look at the link for quick start: http://ev.net.com.au/gridview-with-highlighted-search-results/

The best solution i can think of so far is to run the browser search functionality, CTRL +F.And the search in there works best like a report viewer control going into the gridview and finding out the information for me. To me it suited best for my requirements.Still interested to know of any other solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM