ComponentOne ASP.NET MVC Controls
ItemValidator Method (CalendarBuilder)

C1.Web.Mvc.Fluent Namespace > CalendarBuilder Class : ItemValidator Method
The value.
Configurates C1.Web.Mvc.Calendar.ItemValidator. Sets the name of a validator javascript function to determine whether dates are valid for selection.
Syntax
'Declaration
 
Public Function ItemValidator( _
   ByVal value As String _
) As CalendarBuilder
public CalendarBuilder ItemValidator( 
   string value
)

Parameters

value
The value.

Return Value

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.
See Also

Reference

CalendarBuilder Class
CalendarBuilder Members