ASP。NET MVCMultiViewCalendarcomponent is a versatile scheduling control. It provides the ability to display multiple months side by side. You can control the number and depth of the calendar views, enable date selection as well as display disabled dates and a week column.
看到ASP。NET MVCMultiViewCalendarin action
Telerik ASP。NET MVCMultiViewCalendarenables you to set the initial view and control the navigation depth of the calendar. To set a view, simply choose one of the four predefined views—Month, Year, Decade and Century. The component also allows you to define the number of views and months displayed at a time. Refer to our演示页面获取更多信息。
日期选择是最重要的日历功能之一。MultiViewCalendar执行单个和多个日期选择,由组件的Selectable属性控制。将该属性设置为范围,您可以通过单击鼠标来选择开始日期和结束日期所选期间的长度。使用Ctrl键可以单独选择多个日期,而按住Shift键+鼠标单击可以定义所选日期之间的整个范围。
了解选择在ASP中是如何工作的。NET MVC MultiviewCalendar
ASP。NET MVCMultiViewCalendarprovides disabled dates functionality to allow you to gray out national holidays, weekends and other days not intended to be selected by users. You simply need to set an array of dates or add a function.
您可以选择在选定的月份视图中显示周数。只需设置WeekNumber属性来呈现周数列。
通过几个键绑定,只使用键盘或鼠标就可以很好地操作MultiViewCalendar组件。使用方向键高亮日期,使用Ctrl+方向键导航到特定的月份/视图。