Class
BaseCalendar

Represents the RadCalendar for ASP.NET AJAX control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class BaseCalendar : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlBaseCalendar

Derived Classes: RadCalendarRadCalendarLite

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

BaseCalendar()

Initializes a new instance of the RadCalendar class.

Declaration

cs-api-definition
public BaseCalendar()

BaseCalendar(Element)

Initializes a new instance of the RadCalendar class.

Declaration

cs-api-definition
public BaseCalendar(Element element)

Parameters

element

Element

Properties

AutoPostBack

Check whether autopostback is enabled.

Declaration

cs-api-definition
public bool AutoPostBack { get; set; }

Property Value

bool

ClientSideLocator

The client-side locator of the RadCalendar.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

Culture

Get the culture which is used by the calendar.

Declaration

cs-api-definition
public string Culture { get; }

Property Value

string

EnableMonthYearFastNavigation

Whether the FastNavigation is enabled.

Declaration

cs-api-definition
public bool EnableMonthYearFastNavigation { get; set; }

Property Value

bool

EnableMultiSelect

Check whether multi date selection is enabled.

Declaration

cs-api-definition
public bool EnableMultiSelect { get; set; }

Property Value

bool

EnableViewSelector

Returns the value of the EnableViewSelector property.

Declaration

cs-api-definition
public bool EnableViewSelector { get; }

Property Value

bool

FastNavigationStep

Get the step for fast navigation.

Declaration

cs-api-definition
public int FastNavigationStep { get; set; }

Property Value

int

FocusedDate

Get the focused date.

Declaration

cs-api-definition
public DateTime FocusedDate { get; }

Property Value

DateTime

IsMultiMonth

Whether the calendar is in multi month display mode.

Declaration

cs-api-definition
public bool IsMultiMonth { get; }

Property Value

bool

LocatorExpression

Get the item locator FindParam.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

MultiMonthCount

The number of the displayed months in multi-month view.

Declaration

cs-api-definition
public int MultiMonthCount { get; }

Property Value

int

MultiViewColumns

The number of columns displayed in MutiMonthView mode.

Declaration

cs-api-definition
public int MultiViewColumns { get; }

Property Value

int

MultiViewRows

The number of rowsdisplayed in MutiMonthView mode.

Declaration

cs-api-definition
public int MultiViewRows { get; }

Property Value

int

PopupVisible

Whether the popup is visible.

Declaration

cs-api-definition
public bool PopupVisible { get; }

Property Value

bool

PresentationType

Get the calendar presentation type.

Declaration

cs-api-definition
public CalendarPresentationType PresentationType { get; set; }

Property Value

CalendarPresentationType

RangeMaxDate

Get RangeMaxDate.

Declaration

cs-api-definition
public DateTime RangeMaxDate { get; }

Property Value

DateTime

RangeMinDate

Get RangeMinDate.

Declaration

cs-api-definition
public DateTime RangeMinDate { get; }

Property Value

DateTime

RangeSelectionMode

Get the calendar range selection mode.

Declaration

cs-api-definition
public RangeSelectionModes RangeSelectionMode { get; }

Property Value

RangeSelectionModes

RenderMode

Render mode of calendar.

Declaration

cs-api-definition
public RenderMode RenderMode { get; }

Property Value

RenderMode

SelectedDates

Get Calendar selected dates.

Declaration

cs-api-definition
public SelectedDateCollection SelectedDates { get; }

Property Value

SelectedDateCollection

SingleViewColumnsCount

Get the number of columns in the single month view of the Calendar.

Declaration

cs-api-definition
public int SingleViewColumnsCount { get; }

Property Value

int

SingleViewRowsCount

Get the number of rows in the single month view of the Calendar.

Declaration

cs-api-definition
public int SingleViewRowsCount { get; }

Property Value

int

UseColumnHeadersAsSelectors

Whether the column headers can be used to select the dates in the respective column.

Declaration

cs-api-definition
public bool UseColumnHeadersAsSelectors { get; set; }

Property Value

bool

UseRowHeadersAsSelectors

Whether the row headers can be used to select the dates in the respective row.

Declaration

cs-api-definition
public bool UseRowHeadersAsSelectors { get; set; }

Property Value

bool

Methods

AssignElement(Element)

Assign a base element for this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element associated with the control.

Overrides HtmlContainerControl.AssignElement(Element)

ColumnHeaderClick(string)

Clicks on the header of a column.

Declaration

cs-api-definition
public void ColumnHeaderClick(string dayOfWeek)

Parameters

dayOfWeek

string

The day of week.

ControlAssert()

Get RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

FastNext()

Clicks the FastNextMonth navigation link.

Declaration

cs-api-definition
public void FastNext()

FastPrevious()

Clicks the FastPreviousMonth navigation link.

Declaration

cs-api-definition
public void FastPrevious()

NavigateToDate(DateTime)

Navigates the Calendar to a specific date.

Declaration

cs-api-definition
public void NavigateToDate(DateTime dateToNavigate)

Parameters

dateToNavigate

DateTime

The date to navigate to.

NavigateToDate(int, int, int)

Navigates the Calendar to a specific date.

Declaration

cs-api-definition
public void NavigateToDate(int year, int month, int day)

Parameters

year

int

The integer representing the Year part of the date.

month

int

The integer representing the Month part of the date.

day

int

The integer representig the Day part of the date.

Next()

Clicks the NextMonth navigation link.

Declaration

cs-api-definition
public void Next()

Previous()

Clicks the PreviousMonth navigation link.

Declaration

cs-api-definition
public void Previous()

RowHeaderClick(int)

Clicks on the header of a row.

Declaration

cs-api-definition
public void RowHeaderClick(int weekNumber)

Parameters

weekNumber

int

SelectDate(DateTime)

Select a date in the Calendar.

Declaration

cs-api-definition
public void SelectDate(DateTime selectedDate)

Parameters

selectedDate

DateTime

The date to be selected.

SelectDate(DateTime, string)

Select a date in the Calendar.

Declaration

cs-api-definition
public void SelectDate(DateTime selectedDate, string currentCalendarCulture)

Parameters

selectedDate

DateTime

The date to be selected.

currentCalendarCulture

string

The current culture.

SelectDate(DateTime, string, bool)

Select a date in the Calendar.

Declaration

cs-api-definition
public void SelectDate(DateTime selectedDate, string currentCalendarCulture, bool isRangeSelection)

Parameters

selectedDate

DateTime

The date to be selected.

currentCalendarCulture

string

The current culture.

isRangeSelection

bool

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

cs-api-definition
public void SelectDate(string dateTimeValue)

Parameters

dateTimeValue

string

The date to be selected.

SelectDate(string, string)

Select a date in the Calendar.

Declaration

cs-api-definition
public void SelectDate(string dateTimeValue, string currentCalendarCulture)

Parameters

dateTimeValue

string

The date to be selected.

currentCalendarCulture

string

The current culture.

SelectDate(string, string, bool)

Selects a date in the Calendar.

Declaration

cs-api-definition
public void SelectDate(string dateTimeValue, string currentCalendarCulture, bool isRangeSelection)

Parameters

dateTimeValue

string

The date to be selected.

currentCalendarCulture

string

The culture that will be used to parse the date.

isRangeSelection

bool

Flag indicating range selection.

ViewSelectorClick()

Clicks on the ViewSelector.

Declaration

cs-api-definition
public void ViewSelectorClick()