TelerikDeveloper.com

TelerikDeveloper.com

sgray128 1/10/2013 5:53:25 PM

Telerik - RadGrid - Adding a column filter

This article will show how to add a column filter to a Telerik grid in code

 



        Dim filter As New Telerik.WinControls.Data.FilterDescriptor
        filter.PropertyName = "itemnmbr"
        filter.[Operator] = FilterOperator.StartsWith
        filter.Value = "holci"
        filter.IsFilterEditor = True
        Me.RadGridView2.FilterDescriptors.Add(filter)

Note: The .propertyname is case sensitive