ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Calendar Class / ItemValidator Property

In This Topic
    ItemValidator Property (Calendar)
    In This Topic
    Gets or sets the name of a validator javascript function to determine whether dates are valid for selection.
    Syntax
    'Declaration
     
    
    <JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
    Public Property ItemValidator As String
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public string ItemValidator {get; set;}
    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.
    See Also