New to Telerik Document ProcessingStart a free 30-day trial

Abstract base for form fields that capture and display textual content, providing shared value handling and appearance invalidation.

Definition

Constructors

Initialize the text field with the specified fieldName.

C#
public TextField(string fieldName)
Parameters:fieldNamestring

The field name.

Properties

Text value restored on form reset (default state).

C#
public string DefaultValue { get; set; }
Property Value:

The default text content for this field, or null if no default value is specified.

Current textual value displayed and submitted for this field.

C#
public string Value { get; set; }
Property Value:

The text value entered by the user, or null if no text has been entered.