ClassBaseCalendar
Represents the RadCalendar for ASP.NET AJAX control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class BaseCalendar : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlBaseCalendar
Derived Classes:
Inherited Members
Constructors
BaseCalendar()
Initializes a new instance of the RadCalendar class.
Declaration
public BaseCalendar()
BaseCalendar(Element)
Initializes a new instance of the RadCalendar class.
Properties
AutoPostBack
Check whether autopostback is enabled.
ClientSideLocator
The client-side locator of the RadCalendar.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
Culture
Get the culture which is used by the calendar.
EnableMonthYearFastNavigation
Whether the FastNavigation is enabled.
Declaration
public bool EnableMonthYearFastNavigation { get; set; }
Property Value
EnableMultiSelect
Check whether multi date selection is enabled.
EnableViewSelector
Returns the value of the EnableViewSelector property.
FastNavigationStep
Get the step for fast navigation.
FocusedDate
Get the focused date.
IsMultiMonth
Whether the calendar is in multi month display mode.
LocatorExpression
Get the item locator FindParam.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
MultiMonthCount
The number of the displayed months in multi-month view.
MultiViewColumns
The number of columns displayed in MutiMonthView mode.
MultiViewRows
The number of rowsdisplayed in MutiMonthView mode.
PopupVisible
Whether the popup is visible.
PresentationType
Get the calendar presentation type.
Declaration
public CalendarPresentationType PresentationType { get; set; }
Property Value
RangeMaxDate
Get RangeMaxDate.
RangeMinDate
Get RangeMinDate.
RangeSelectionMode
Get the calendar range selection mode.
Declaration
public RangeSelectionModes RangeSelectionMode { get; }
Property Value
RenderMode
Render mode of calendar.
SelectedDates
Get Calendar selected dates.
Declaration
public SelectedDateCollection SelectedDates { get; }
Property Value
SingleViewColumnsCount
Get the number of columns in the single month view of the Calendar.
SingleViewRowsCount
Get the number of rows in the single month view of the Calendar.
UseColumnHeadersAsSelectors
Whether the column headers can be used to select the dates in the respective column.
Declaration
public bool UseColumnHeadersAsSelectors { get; set; }
Property Value
UseRowHeadersAsSelectors
Whether the row headers can be used to select the dates in the respective row.
Declaration
public bool UseRowHeadersAsSelectors { get; set; }
Property Value
Methods
AssignElement(Element)
Assign a base element for this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element associated with the control.
Overrides
ColumnHeaderClick(string)
Clicks on the header of a column.
Declaration
public void ColumnHeaderClick(string dayOfWeek)
Parameters
dayOfWeek
The day of week.
ControlAssert()
Get RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
FastNext()
Clicks the FastNextMonth navigation link.
Declaration
public void FastNext()
FastPrevious()
Clicks the FastPreviousMonth navigation link.
Declaration
public void FastPrevious()
NavigateToDate(DateTime)
Navigates the Calendar to a specific date.
Declaration
public void NavigateToDate(DateTime dateToNavigate)
Parameters
dateToNavigate
The date to navigate to.
NavigateToDate(int, int, int)
Navigates the Calendar to a specific date.
Previous()
Clicks the PreviousMonth navigation link.
Declaration
public void Previous()
RowHeaderClick(int)
Clicks on the header of a row.
SelectDate(DateTime)
Select a date in the Calendar.
Declaration
public void SelectDate(DateTime selectedDate)
Parameters
selectedDate
The date to be selected.
SelectDate(DateTime, string)
Select a date in the Calendar.
SelectDate(DateTime, string, bool)
Select a date in the Calendar.
Declaration
public void SelectDate(DateTime selectedDate, string currentCalendarCulture, bool isRangeSelection)
Parameters
selectedDate
The date to be selected.
currentCalendarCulture
The current culture.
isRangeSelection
Whether range selection is performed. If set to 'true' the method internally presses the 'shift' key when selecting.
SelectDate(string)
Selects a date in the Calendar.
Declaration
public void SelectDate(string dateTimeValue)
Parameters
dateTimeValue
The date to be selected.
SelectDate(string, string)
Select a date in the Calendar.
SelectDate(string, string, bool)
Selects a date in the Calendar.
Declaration
public void SelectDate(string dateTimeValue, string currentCalendarCulture, bool isRangeSelection)
Parameters
dateTimeValue
The date to be selected.
currentCalendarCulture
The culture that will be used to parse the date.
isRangeSelection
Flag indicating range selection.
ViewSelectorClick()
Clicks on the ViewSelector.
Declaration
public void ViewSelectorClick()