RadCalendar
Class
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
C#
[EmbeddedSkin("Calendar", typeof(RadCalendar))]
[EmbeddedSkin("Calendar", "Default", typeof(RadCalendar))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadCalendar))]
[TelerikToolboxCategory("Calendar, Scheduler and Gantt")]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadCalendar))]
[ClientScriptResource("Telerik.Web.UI.RadCalendar", "Telerik.Web.UI.Calendar.RadCalendarScript.js")]
[ClientScriptResource("Telerik.Web.UI.RadCalendar", "Telerik.Web.UI.Calendar.RadCalendarCommonScript.js")]
[ClientScriptResource("Telerik.Web.UI.RadCalendar", "Telerik.Web.UI.Common.Navigation.OverlayScript.js")]
[RequiredScript(typeof(MaterialRipple))]
[RequiredScript(typeof(jQuery))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadCalendar))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Lightweight, typeof(RadCalendar))]
public class RadCalendar : PropertiesControl, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IStateManager, IPostBackEventHandler, INamingContainer
Inheritance: objectRadWebControlPropertiesControlRadCalendar
Implements:
Inherited Members
Constructors
C#
public RadCalendar()
Properties
C#
[ClientControlProperty]
public virtual bool AutoPostBack { get; set; }
C#
public virtual string CalendarCaption { get; set; }
C#
[DatePickerBrowsable(false)]
public CalendarDayTemplateCollection CalendarDayTemplates { get; }
C#
public virtual string CalendarSummary { get; set; }
CalendarTableStyle
TableItemStyle
C#
public TableItemStyle CalendarTableStyle { get; }
C#
[Browsable(false)]
public CalendarView CalendarView { get; }
CellAlign
HorizontalAlign
C#
public HorizontalAlign CellAlign { get; set; }
C#
[ClientControlProperty]
public string CellDayFormat { get; set; }
CellVAlign
VerticalAlign
C#
public VerticalAlign CellVAlign { get; set; }
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public CalendarClientEvents ClientEvents { get; }
C#
[Bindable(false)]
public string ColumnHeaderImage { get; set; }
C#
[Bindable(false)]
public string ColumnHeaderText { get; set; }
C#
public CultureInfo Culture { get; set; }
C#
[TypeConverter(typeof(CultureInfoConverter))]
[DatePickerBrowsable(false)]
public CultureInfo CultureInfo { get; set; }
C#
[ClientControlProperty]
public string DateRangeSeparator { get; set; }
C#
[Browsable(false)]
public DateTimeFormatInfo DateTimeFormat { get; }
C#
[ClientControlProperty]
public string DayCellToolTipFormat { get; set; }
DayNameFormat
DayNameFormat
C#
public DayNameFormat DayNameFormat { get; set; }
DayOverStyle
TableItemStyle
C#
public TableItemStyle DayOverStyle { get; }
DayStyle
TableItemStyle
C#
public TableItemStyle DayStyle { get; }
C#
public virtual string DaysViewSummary { get; set; }
C#
public int DefaultCellPadding { get; set; }
C#
public int DefaultCellSpacing { get; set; }
DisabledDayStyle
TableItemStyle
C#
public TableItemStyle DisabledDayStyle { get; }
C#
public bool EnableAriaSupport { get; set; }
C#
public bool EnableKeyboardNavigation { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("calendarEnableMonthYearFastNavigation")]
public bool EnableMonthYearFastNavigation { get; set; }
C#
[Bindable(false)]
[DatePickerBrowsable(false)]
[ClientControlProperty]
public virtual bool EnableMultiSelect { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("calendarEnableNavigation")]
public bool EnableNavigation { get; set; }
C#
[Bindable(false)]
[DatePickerBrowsable(false)]
[ClientControlProperty]
public virtual bool EnableNavigationAnimation { get; set; }
C#
[ClientControlProperty]
public bool EnableRepeatableDaysOnClient { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("_enableShadows")]
public bool EnableShadows { get; set; }
C#
public bool EnableViewSelector { get; set; }
C#
[Browsable(true)]
[Bindable(true)]
public bool EnableWeekends { get; set; }
C#
public string FastNavigationNextImage { get; set; }
C#
public string FastNavigationNextText { get; set; }
C#
[DatePickerBrowsable(false)]
public string FastNavigationNextToolTip { get; set; }
C#
public string FastNavigationPrevImage { get; set; }
C#
public string FastNavigationPrevText { get; set; }
C#
[DatePickerBrowsable(false)]
public string FastNavigationPrevToolTip { get; set; }
C#
public MonthYearFastNavigationSettings FastNavigationSettings { get; }
C#
[ClientControlProperty]
public int FastNavigationStep { get; set; }
FastNavigationStyle
TableItemStyle
C#
public TableItemStyle FastNavigationStyle { get; }
FirstDayOfWeek
FirstDayOfWeek
C#
public FirstDayOfWeek FirstDayOfWeek { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTime FocusedDate { get; set; }
C#
[Obsolete("This property is obsolete and will be removed.")]
public int FocusedDateColumn { get; set; }
C#
[Obsolete("This property is obsolete and will be removed.")]
public int FocusedDateRow { get; set; }
FooterTemplate
ITemplate
C#
[Browsable(false)]
public ITemplate FooterTemplate { get; set; }
HeaderStyle
TableItemStyle
C#
public TableItemStyle HeaderStyle { get; }
HeaderTemplate
ITemplate
C#
[Browsable(false)]
public ITemplate HeaderTemplate { get; set; }
C#
[DatePickerBrowsable(false)]
[ClientControlProperty]
public bool HideNavigationControls { get; set; }
C#
public virtual string ImagesPath { get; set; }
C#
public KeyboardNavigationSettings KeyboardNavigationSettings { get; }
C#
public string LocalizationPath { get; set; }
C#
public MonthLayout MonthLayout { get; set; }
C#
[DatePickerBrowsable(false)]
[ClientControlProperty]
public int MultiViewColumns { get; set; }
C#
[DatePickerBrowsable(false)]
[ClientControlProperty]
public int MultiViewRows { get; set; }
C#
public virtual string NavigationCaption { get; set; }
C#
public int NavigationCellPadding { get; set; }
C#
public int NavigationCellSpacing { get; set; }
C#
public string NavigationNextImage { get; set; }
C#
public string NavigationNextText { get; set; }
C#
[DatePickerBrowsable(false)]
public string NavigationNextToolTip { get; set; }
C#
public string NavigationPrevImage { get; set; }
C#
public string NavigationPrevText { get; set; }
C#
[DatePickerBrowsable(false)]
public string NavigationPrevToolTip { get; set; }
C#
public virtual string NavigationSummary { get; set; }
C#
[ClientControlProperty]
public Orientation Orientation { get; set; }
OtherMonthDayStyle
TableItemStyle
C#
public TableItemStyle OtherMonthDayStyle { get; }
OutOfRangeDayStyle
TableItemStyle
C#
public TableItemStyle OutOfRangeDayStyle { get; }
C#
[DatePickerBrowsable(false)]
[ClientControlProperty]
public PresentationType PresentationType { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTime RangeMaxDate { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTime RangeMinDate { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTime RangeSelectionEndDate { get; set; }
C#
public RangeSelectionMode RangeSelectionMode { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTime RangeSelectionStartDate { get; set; }
C#
public string RowHeaderImage { get; set; }
C#
[Bindable(false)]
public string RowHeaderText { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTime SelectedDate { get; set; }
C#
[DatePickerBrowsable(false)]
public DateTimeCollection SelectedDates { get; }
SelectedDayStyle
TableItemStyle
C#
public TableItemStyle SelectedDayStyle { get; }
C#
public bool ShowColumnHeaders { get; set; }
C#
[ClientControlProperty]
public virtual bool ShowDayCellToolTips { get; set; }
C#
public bool ShowFastNavigationButtons { get; set; }
C#
public bool ShowNavigationButtons { get; set; }
C#
[ClientControlProperty]
public bool ShowOtherMonthsDays { get; set; }
C#
public bool ShowRowHeaders { get; set; }
C#
[ClientControlProperty]
public int SingleViewColumns { get; set; }
SingleViewHeight
Unit
C#
public Unit SingleViewHeight { get; set; }
C#
[ClientControlProperty]
public int SingleViewRows { get; set; }
SingleViewWidth
Unit
C#
public Unit SingleViewWidth { get; set; }
C#
public CalendarDayCollection SpecialDays { get; }
C#
protected override bool SupportsRenderingMode { get; }
Overrides:
TitleAlign
HorizontalAlign
C#
public HorizontalAlign TitleAlign { get; set; }
C#
[ClientControlProperty]
public string TitleFormat { get; set; }
TitleStyle
TableItemStyle
C#
public TableItemStyle TitleStyle { get; }
C#
[ClientControlProperty]
public virtual bool UseColumnHeadersAsSelectors { get; set; }
C#
[ClientControlProperty]
public virtual bool UseRowHeadersAsSelectors { get; set; }
C#
[Bindable(false)]
public string ViewSelectorImage { get; set; }
ViewSelectorStyle
TableItemStyle
C#
public TableItemStyle ViewSelectorStyle { get; }
C#
[Bindable(false)]
public string ViewSelectorText { get; set; }
WeekendDayStyle
TableItemStyle
C#
public TableItemStyle WeekendDayStyle { get; }
Methods
C#
protected override void ControlPreRender()
Overrides:
C#
protected override void CreateChildControls()
C#
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
C#
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Overrides:
C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
C#
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Overrides:
C#
protected virtual void OnDayRender(TableCell cell, RadCalendarDay day, MonthView currentView)
C#
protected virtual void OnHeaderCellRender(TableCell cell, HeaderType type)
C#
protected virtual void OnSelectionChanged()
C#
protected override void Render(HtmlTextWriter writer)
Overrides:
C#
public override void RenderBeginTag(HtmlTextWriter writer)
Overrides:
C#
protected void RenderDefaultView(TableCell inputCell)
C#
public override void RenderEndTag(HtmlTextWriter writer)
Overrides:
C#
public void ResetTemplates()
C#
protected override void TrackViewState()
Overrides:
Events
C#
public event EventHandler<ChildViewRenderEventArgs> ChildViewRender
C#
public event DayRenderEventHandler DayRender
C#
public event DefaultViewChangedEventHandler DefaultViewChanged
C#
public event HeaderCellRenderEventHandler HeaderCellRender
C#
public event SelectedDatesEventHandler SelectionChanged