Class GridFilterStringProvider
Provides static methods for creating strings to represent FilterDescriptors in text format.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public static class GridFilterStringProvider
Methods
GetFilterString(FilterDescriptor)
Creates a string representation of filter descriptor. Takes into account current localization provider and lookup value for lookup column.
Declaration
public static string GetFilterString(FilterDescriptor descriptor)
Parameters
FilterDescriptor
descriptor
|
Returns
System.String
|
GetFilterString(FilterDescriptor, GridViewComboBoxColumn)
Creates a string representation of filter descriptor. Takes into account current localization provider and lookup value for lookup column.
Declaration
public static string GetFilterString(FilterDescriptor descriptor, GridViewComboBoxColumn lookupColumn)
Parameters
FilterDescriptor
descriptor
Given filter descriptor |
GridViewComboBoxColumn
lookupColumn
Lookup column reference. Provide null if the column has not lookup value structure. |
Returns
System.String
Filter string representation |
GetFilterString(FilterDescriptor, GridViewComboBoxColumn, Int32)
Creates a string representation of filter descriptor. Takes into account current localization provider and lookup value for lookup column.
Declaration
public static string GetFilterString(FilterDescriptor descriptor, GridViewComboBoxColumn lookupColumn, int maxTextLength)
Parameters
FilterDescriptor
descriptor
Given filter descriptor. |
GridViewComboBoxColumn
lookupColumn
Lookup column reference. Provide null if the column is not a lookup column. |
System.Int32
maxTextLength
Max text length. |
Returns
System.String
Filter string representation |