[]
        
(Showing Draft Content)

C1.Web.Mvc.InputDateBase.ItemValidator

ItemValidator Property

ItemValidator

Gets or sets the name of a validator javascript function to determine whether dates are valid for selection.

Declaration
[JsonConverter(typeof(FunctionConverter))]
public string ItemValidator { get; set; }
<JsonConverter(GetType(FunctionConverter))>
Public Property ItemValidator As String
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.