GridMaskedColumn
When in browser mode, GridMaskedColumn looks and behaves like a standard GridBoundColumn. When in edit mode, however, it displays a RadMaskedTextBox control. This column type is for values that fit a specific format. Use the Mask property to specify an edit mask that defines the valid values. The DataField property must identify a field with a valid data type (values conform to the mask). This column type is editable (implements the IGridEditableColumn interface) and by default provides GridMaskedColumnEditor as its column editor.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class GridMaskedColumn : GridBoundColumn, IStateManager, IComparable, IGridEditableColumn, IGridDataColumn
Inheritance: objectGridColumnGridEditableColumnGridBoundColumnGridMaskedColumn
Implements:
Inherited Members
Constructors
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public GridMaskedColumn()
Properties
Gets or sets the DsiplayMask property of the RadMaskedTextBox control.
public string DisplayMask { get; set; }
The DsiplayMask property of the RadMaskedTextBox control.
Gets or sets the Mask property of the RadMaskedTextBox control.
public string Mask { get; set; }
The Mask property of the RadMaskedTextBox control.
Methods
Creates a copy of the current column.
public override GridColumn Clone()
Overrides:
Note: When implementing/overriding this method be sure to call the base member or call CopyBaseProperties to be sure that all base properties will be copied accordingly
protected override void CopyBaseProperties(GridColumn fromColumn)
Overrides:
protected override IGridColumnEditor CreateDefaultColumnEditor()
Overrides:
Gets a list of filter functions based on the settings of the FilterListOptions property.
protected override ArrayList GetFilterFunctionsList(GridFilterListOptions options, ArrayList sourceList)
Overrides:
Sets the value of the property CurrentFilterValue as a text on the TextBox control found in the cell
protected override void SetCurrentFilterValueToControl(TableCell cell)
Overrides:
Instantiates the filter controls (text-box, image.) in the cell given