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

FormValidatableSettingsBuilder class.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class FormValidatableSettingsBuilder<T>

Inheritance: objectFormValidatableSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public FormValidatableSettingsBuilder(FormValidatableSettings<T> settings)
Parameters:settingsFormValidatableSettings<T>

The FormValidatableSettings<T>

Methods

Configures the Form Validator errorTemplate option.

C#
public FormValidatableSettingsBuilder<T> ErrorTemplate(string value)
Parameters:valuestring

The value that configures the errortemplate.

Returns:

FormValidatableSettingsBuilder<T>

A FormValidatableSettingsBuilder<T> instance that can be used to configure the FormValidatableSettings.

Configures the Form Validator errorTemplate option. Expects the name of the JAvaScript function returning the template.

C#
public FormValidatableSettingsBuilder<T> ErrorTemplateHandler(string value)
Parameters:valuestringReturns:

FormValidatableSettingsBuilder<T>

Configures the Form Validator errorTemplate option.

C#
public FormValidatableSettingsBuilder<T> ErrorTemplateId(string value)
Parameters:valuestring

The value that configures the errortemplate.

Returns:

FormValidatableSettingsBuilder<T>

A FormValidatableSettingsBuilder<T> instance that can be used to configure the FormValidatableSettings.

Configures the Form Validator errorTemplate option.

C#
public FormValidatableSettingsBuilder<T> ErrorTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContentReturns:

FormValidatableSettingsBuilder<T>

C#
public FormValidatableSettingsBuilder<T> MessageBoxThemeColor(ThemeColor value)
Parameters:valueThemeColorReturns:

FormValidatableSettingsBuilder<T>

Configures the Form Validator validateOnBlur option.

C#
public FormValidatableSettingsBuilder<T> ValidateOnBlur(bool value)
Parameters:valuebool

The value that configures the validateonblur.

Returns:

FormValidatableSettingsBuilder<T>

A FormValidatableSettingsBuilder<T> instance that can be used to configure the FormValidatableSettings.

Configures the Form Validator validationSummary option.

C#
public FormValidatableSettingsBuilder<T> ValidationSummary(Action<FormValidationSummarySettingsBuilder> validationSummaryAction)
Parameters:validationSummaryActionAction<FormValidationSummarySettingsBuilder>

The value that configures the validationsummary.

Returns:

FormValidatableSettingsBuilder<T>

A FormValidatableSettingsBuilder<T> instance that can be used to configure the FormValidatableSettings.

Configures the Form Validator validationSummary option.

C#
public FormValidatableSettingsBuilder<T> ValidationSummary(bool value)
Parameters:valuebool

The value that configures the validationsummary.

Returns:

FormValidatableSettingsBuilder<T>

A FormValidatableSettingsBuilder<T> instance that can be used to configure the FormValidatableSettings.