New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DateTimePickerMonthTemplateSettingsBuilder

Methods

MonthTemplateHandler(System.String)

MonthTemplate function handler to be used for rendering the cells of the Calendar.

Parameters

templateHandler - System.String

The name of the JavaScript function to be used for rendering the cells for the Calendar.

Example


            @( Html.Kendo().DateTimePicker()
                        .Name("dateTimePicker")
                        .MonthTemplateHandler("handler")
            )

WeekNumberHandler(System.String)

WeekNumber function handler to be used for rendering the cells of the Calendar.

Parameters

templateHandler - System.String

The name of the JavaScript function to be used for rendering the week number cells for the Calendar.

Example


            @( Html.Kendo().DateTimePicker()
                        .Name("dateTimePicker")
                        .WeekNumberHandler("handler")
            )

EmptyHandler(System.String)

Empty function handler to be used for rendering the cells of the Calendar.

Parameters

templateHandler - System.String

The name of the JavaScript function to be used for rendering the empty content Calendar.

Example


            @( Html.Kendo().DateTimePicker()
                        .Name("dateTimePicker")
                        .EmptyHandler("handler")
            )

Empty(System.String)

Parameters

value - System.String

The value for Empty

EmptyId(System.String)

Parameters

value - System.String

The value for EmptyId

Content(System.String)

Parameters

value - System.String

The value for Content

ContentId(System.String)

Parameters

value - System.String

The value for ContentId

WeekNumber(System.String)

Parameters

value - System.String

The value for WeekNumber

WeekNumberId(System.String)

Parameters

value - System.String

The value for WeekNumberId

In this article
Not finding the help you need?