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

Week Number Column

The DateTimePicker provides options for rendering a column which displays the number of the weeks within the current Month view.

To render the week number column, set the WeekNumber property to true.

    @(Html.Kendo().DateTimePicker()
              .Name("datetimepicker")
              .WeekNumber(true)
              .Value(DateTime.Now)
              .HtmlAttributes(new { style = "width: 100%" })
    )
<kendo-datetimepicker name="datetimepicker"
                      week-number="true"
                      value="DateTime.Now"
                      style="width:100%"/>

See Also

In this article