ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc.TagHelpers Namespace / InputDateTimeTagHelper Class / ItemValidator Property

In This Topic
    ItemValidator Property (InputDateTimeTagHelper)
    In This Topic
    Configurates C1.Web.Mvc.InputDateBase.ItemValidator. Sets the name of a validator javascript function to determine whether dates are valid for selection.
    Syntax
    'Declaration
     
    Public Property ItemValidator As String
    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