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

Defines the fluent API for configuring WizardValidateFormsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class WizardValidateFormsSettingsBuilder

Inheritance: objectWizardValidateFormsSettingsBuilder

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

Constructors

WizardValidateFormsSettingsBuilder method.

C#
public WizardValidateFormsSettingsBuilder(WizardValidateFormsSettings container)
Parameters:containerWizardValidateFormsSettings

Properties

Gets the settings being configured.

C#
protected WizardValidateFormsSettings Container { get; }

Methods

Indicates whether navigation to previous Step will trigger current Step Form validation. By default, Form validation is enabled for any step navigation.

C#
public WizardValidateFormsSettingsBuilder ValidateOnPrevious(bool value)
Parameters:valuebool

The value for ValidateOnPrevious

Returns:

WizardValidateFormsSettingsBuilder

Returns the current WizardValidateFormsSettingsBuilder instance.

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.ValidateForms(forms => forms.ValidateOnPrevious(true))
)