[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.InputDateBaseBuilder-2.ItemValidator

ItemValidator Method

ItemValidator(string)

Configurates ItemValidator. Sets the name of a validator javascript function to determine whether dates are valid for selection.

Declaration
public TBuilder ItemValidator(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

If specified, the validator function should take one parameter representing the date to be tested, and should return false if the date is invalid and should not be selectable.