Web
A common request on our forums is how to enable the Search As You Type online example to search in DateTime or Integer properties. Also recently another request was brought to our attention: How to highlight the matching search text in the grid cells. In this blog post I’m going to show you how to achieve these goals. Let’s start our journey, by looking at the MainPage.xaml of the attached sample application: 1 <UserControl x:Class="DateTimeFiltering.MainPage" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 4 xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 5 xmlns:themes="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 6 xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 7 xmlns:local="clr-namespace:DateTimeFiltering" 8 xmlns:jeff="clr-namespace:JeffWilcox.Samples;assembly=HighlightingTextBlock"> ...