I am using MVVM to show the database records in a gridview (ListView view). i have a textbox where we can enter the text to be searched in the results listed in the gridview. i tried many ways to highlight the search text (Not the entire row only the text matches in the record) in the records displayed in the list view but unable to highlight. I am using viewmodel as the datacontext for this window. i tried searching on the web and tried using different approaches but unable to highlight the text.
Can anyone have solution for this. Thanks in advance.
kiran kPosted May 12, 2010, 9:26 AM
The link which you have given displays the exact requirement which i have... but not in ASP.NET... i am using WPF gridview( list view )... please let me know if you have any idea about achieving the same in WPF... Thanks..
Lalit MPosted May 10, 2010, 3:21 AM
Kiran K Here great Sample code in vb.net i think this will help
http://blog.evonet.com.au/post/2008/06/25/Gridview-with-highlighted-search-results.aspx
kiran kPosted May 6, 2010, 10:41 AM
Thanks for your response. I have gone thru the link already. But as i said i dont need the entire cell to be highlighted. Only the portion which matches with the search thing needs to be highlighted. It is like in IE8 or Google chrome we have the search text highlight. any idea about how to achieve the same. Please let me know. Thanks.
Kiran