New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Class holding settings for regular expression validation on RadTextBox control.

Definition

Constructors

C#
public RegExpTextBoxSetting()

Properties

Gets or sets a value indicating the control should be required on client or not.

C#
[Obsolete("Please use Validation.IsRequired instead!")]
public virtual bool IsRequiredFields { get; set; }
Property Value:

A value indicating the control should be required on client or not

Gets or sets the regular expression that determins the pattern used to validate the field.

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

The regular expression that determins the pattern used to validate the field.

Methods

Validates the specified TextBox control with supplied context.

C#
public override void Validate(TextBox input, object context)
Parameters:inputTextBox

The TextBox control.

contextobject

The context.

Overrides: InputSetting.Validate(TextBox, object)

Validates the specified TextBox control.

C#
public override void Validate(TextBox input)
Parameters:inputTextBox

The TextBox control.

Overrides: InputSetting.Validate(TextBox)