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

Defines the fluent API for configuring the FormValidatableSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class FormValidatableSettingsBuilder<T> where T : class

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

Initialize the FormValidatableSettingsBuilder

C#
public FormValidatableSettingsBuilder(FormValidatableSettings settings)
Parameters:settingsFormValidatableSettings

The FormValidatableSettings

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>

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>

Configures the Form Validator errorTemplate option.

C#
public FormValidatableSettingsBuilder<T> ErrorTemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the errortemplate.

Returns:

FormValidatableSettingsBuilder<T>

Configures the Form Validator messageBoxThemeColor option.

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

The value that configures the messageboxthemecolor.

Returns:

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>

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

FormValidatableSettingsBuilder<T>

Configures the Form Validator validationSummary option.

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

The value that configures the validationsummary.

Returns:

FormValidatableSettingsBuilder<T>