FormValidatableSettingsBuilder class.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class FormValidatableSettingsBuilder<T>
Inheritance: objectFormValidatableSettingsBuilder<T>
Inherited Members
Constructors
Initialize the FormValidatableSettingsBuilder<T>
public FormValidatableSettingsBuilder(FormValidatableSettings<T> settings)
The FormValidatableSettings<T>
Methods
Configures the Form Validator errorTemplate option.
public FormValidatableSettingsBuilder<T> ErrorTemplate(string value)
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.
public FormValidatableSettingsBuilder<T> ErrorTemplateHandler(string value)
Configures the Form Validator errorTemplate option.
public FormValidatableSettingsBuilder<T> ErrorTemplateId(string value)
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.
public FormValidatableSettingsBuilder<T> ErrorTemplateView(IHtmlContent templateView)
public FormValidatableSettingsBuilder<T> MessageBoxThemeColor(ThemeColor value)
Configures the Form Validator validateOnBlur option.
public FormValidatableSettingsBuilder<T> ValidateOnBlur(bool value)
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.
public FormValidatableSettingsBuilder<T> ValidationSummary(Action<FormValidationSummarySettingsBuilder> validationSummaryAction)
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.
public FormValidatableSettingsBuilder<T> ValidationSummary(bool value)
The value that configures the validationsummary.
Returns:FormValidatableSettingsBuilder<T>
A FormValidatableSettingsBuilder<T> instance that can be used to configure the FormValidatableSettings.