AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Highlighting Multiple Search Keywords in ASP.NET : Dimitrios Markatos

Monday, June 30 2008

This article demonstrates how to highlight various multiple keywords within any given text using .NET Regular Expressions and the MatchEvaluator Delegate. A few years ago I had written a short article that demonstrated how one could highlight a keyword within a DataGrid control based on what was passed into it. Although this functionality served its purpose, it was however limited to one search word at a time; multiple search terms didn't apply. Since then I needed to find out a way to actually highlight multiple key words no matter where they were in the text...

Read More:
Highlighting Multiple Search Keywords in ASP.NET : Dimitrios Markatos
Also See:
Client Side Callbacks in ASP.NET 2.0 : Richard Bean
JavaScript with ASP.NET 2.0 Pages - Part 2 : Xun Ding
Setting Up and Using User Profiles : Marco Bellinaso
Crystal Reports in ASP.NET : Richard Bean
Security Features in ASP.NET 2.0 : Richard Bean

Post your comment

Comment