Class
RadScheduler

A simple control wrapper for the scheduler Control.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadScheduler : HtmlDiv

Inheritance: objectControlHtmlControlHtmlContainerControlHtmlDivRadScheduler

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

RadScheduler()

Initializes a new instance of the RadScheduler class.

Declaration

cs-api-definition
public RadScheduler()

RadScheduler(Element)

Initializes a new instance of the RadScheduler class.

Declaration

cs-api-definition
public RadScheduler(Element element)

Parameters

element

Element

Properties

AdvancedFormAllDayCheckBox

Advanced form all day checkbox.

Declaration

cs-api-definition
public HtmlInputCheckBox AdvancedFormAllDayCheckBox { get; }

Property Value

HtmlInputCheckBox

AdvancedFormAllDayCheckBoxChecked

Advanced form all day checkbox checked state.

Declaration

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

Property Value

bool

AdvancedFormCancelButton

Get the advanced form Cancel button.

Declaration

cs-api-definition
public HtmlAnchor AdvancedFormCancelButton { get; }

Property Value

HtmlAnchor

AdvancedFormDiv

Get the advanced form if visible or null otherwise.

Declaration

cs-api-definition
public HtmlDiv AdvancedFormDiv { get; }

Property Value

HtmlDiv

AdvancedFormInsertButton

Get the advanced form Save(Insert) button.

Declaration

cs-api-definition
public HtmlAnchor AdvancedFormInsertButton { get; }

Property Value

HtmlAnchor

AdvancedFormMoreControlsPanel

Advanced form more controls panel.

Declaration

cs-api-definition
public HtmlDiv AdvancedFormMoreControlsPanel { get; }

Property Value

HtmlDiv

AdvancedFormMoreControlsPanelVisible

Advanced form more controls visible state.

Declaration

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

Property Value

bool

AdvancedFormRecurrenceCheckBox

Advanced form recurrence checkbox.

Declaration

cs-api-definition
public HtmlInputCheckBox AdvancedFormRecurrenceCheckBox { get; }

Property Value

HtmlInputCheckBox

AdvancedFormRecurrenceCheckBoxChecked

Advanced form recurrence checkbox checked state.

Declaration

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

Property Value

bool

AdvancedFormRecurrencePanel

Advanced form recurrence panel.

Declaration

cs-api-definition
public HtmlDiv AdvancedFormRecurrencePanel { get; }

Property Value

HtmlDiv

AdvancedFormRecurrencePanelVisible

Advanced form recurrence panel visible state.

Declaration

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

Property Value

bool

AdvancedFormSaveButton

Get the advanced form Save button.

Declaration

cs-api-definition
public HtmlAnchor AdvancedFormSaveButton { get; }

Property Value

HtmlAnchor

AdvancedFormText

Advanced form text in case the advanced form is visible, null otherwise.

Declaration

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

Property Value

string

AdvancedFormVisible

Check whether the advanced form is visible.

Declaration

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

Property Value

bool

Appointments

Get the Appointments object of the scheduler.

Declaration

cs-api-definition
public IList<SchedulerAppointment> Appointments { get; }

Property Value

IList<SchedulerAppointment>

CalendarVisible

Returns whether the calendar is visible.

Declaration

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

Property Value

bool

CalendarWrapper

Scheduler calendar wrapper.

Declaration

cs-api-definition
public HtmlDiv CalendarWrapper { get; }

Property Value

HtmlDiv

ChangeHoursLinkText

Change hours link text.

Declaration

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

Property Value

string

ClientSideLocator

Get the locator FindParam.

Declaration

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

Property Value

string

Overrides HtmlControl.ClientSideLocator

FirstDayStart

Current day in the day view.

Declaration

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

Property Value

DateTime

GetDayViewAllDayTimeSlot

Get the AllDay TimeSlot form scheduler DayView.

Declaration

cs-api-definition
public SchedulerTimeSlot GetDayViewAllDayTimeSlot { get; }

Property Value

SchedulerTimeSlot

HeaderText

Get the current header text.

Declaration

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

Property Value

string

InlineFormDiv

Get the inline form div if visible, null otherwise.

Declaration

cs-api-definition
public HtmlDiv InlineFormDiv { get; }

Property Value

HtmlDiv

InlineFormText

Get the text of the inline form if visible, or null otherwise.

Declaration

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

Property Value

string

InlineFormVisible

Get whether the inline form is visible.

Declaration

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

Property Value

bool

IsVisibleModalDialog

Check whether the modal dialog is visible.

Declaration

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

Property Value

bool

LocatorExpression

Get the FindParam that defines the pattern for scheduler.

Declaration

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

Property Value

IFindExpression

Overrides Control.LocatorExpression

ModalDialogTitle

Returns modal dialog title.

Declaration

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

Property Value

string

ReminderDialog

Get the reminder dialog.

Declaration

cs-api-definition
public HtmlDiv ReminderDialog { get; }

Property Value

HtmlDiv

ReminderDialogCloseButton

Get the reminder dialog close button

Declaration

cs-api-definition
public HtmlAnchor ReminderDialogCloseButton { get; }

Property Value

HtmlAnchor

ReminderDialogDismissAllButton

Get the reminder dialog dismiss all button

Declaration

cs-api-definition
public HtmlAnchor ReminderDialogDismissAllButton { get; }

Property Value

HtmlAnchor

ReminderDialogDismissButton

Get the reminder dialog dismiss button

Declaration

cs-api-definition
public HtmlAnchor ReminderDialogDismissButton { get; }

Property Value

HtmlAnchor

ReminderDialogSnoozeButton

Get the reminder dialog snooze button

Declaration

cs-api-definition
public HtmlAnchor ReminderDialogSnoozeButton { get; }

Property Value

HtmlAnchor

ReminderDialogTitleBarText

Get the reminder dialog header text

Declaration

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

Property Value

string

ReminderDialogVisible

Reminder dialog visible state.

Declaration

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

Property Value

bool

RemindersList

Get the list of the reminders

Declaration

cs-api-definition
public RadListBox RemindersList { get; }

Property Value

RadListBox

RenderMode

Render mode of toolbar.

Declaration

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

Property Value

RenderMode

ResourceTypesString

Returns a string containing the scheduler resource types.

Declaration

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

Property Value

string

SelectedView

Selected view in the scheduler.

Declaration

cs-api-definition
public SchedulerViewNavigationType SelectedView { get; }

Property Value

SchedulerViewNavigationType

Methods

AdvancedFormSetText(string)

Advanced form set text method.

Declaration

cs-api-definition
public void AdvancedFormSetText(string text)

Parameters

text

string

AssignElement(Element)

Assign the control element.

Declaration

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

Parameters

e

Element

Overrides HtmlDiv.AssignElement(Element)

ChangeHours()

Click the ChangeHours link.

Declaration

cs-api-definition
public void ChangeHours()

ControlAssert()

Get RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

FindAppointment(Predicate<SchedulerAppointment>)

Find appointment by given predicate.

Declaration

cs-api-definition
public SchedulerAppointment FindAppointment(Predicate<SchedulerAppointment> predicate)

Parameters

predicate

Predicate<SchedulerAppointment>

The predicate used as a search criteria.

Returns

SchedulerAppointment

The appointment found or 'null' if no appointment matches the given search criteria.

FindAppointmentBySubject(string)

Finds appointment by Subject.

Declaration

cs-api-definition
public SchedulerAppointment FindAppointmentBySubject(string subject)

Parameters

subject

string

Returns

SchedulerAppointment

GetDayViewTimeSlot(int)

Get the TimeSlot form scheduler DayView by index.

Declaration

cs-api-definition
public SchedulerTimeSlot GetDayViewTimeSlot(int index)

Parameters

index

int

Returns

SchedulerTimeSlot

GetDayViewTimeSlot(int, int)

Get the TimeSlot form scheduler DayView by index and resource index.

Declaration

cs-api-definition
public SchedulerTimeSlot GetDayViewTimeSlot(int index, int resourceIndex)

Parameters

index

int

resourceIndex

int

Returns

SchedulerTimeSlot

GetMonthViewTimeSlot(int, int)

Get the TimeSlot form scheduler MonthView by timeSlot index and day index.

Declaration

cs-api-definition
public SchedulerTimeSlot GetMonthViewTimeSlot(int index, int dayIndex)

Parameters

index

int

dayIndex

int

Returns

SchedulerTimeSlot

GetTimeLineTimeSlot(int)

Get the TimeSlot form scheduler TimeLineView.

Declaration

cs-api-definition
public SchedulerTimeSlot GetTimeLineTimeSlot(int dayIndex)

Parameters

dayIndex

int

Returns

SchedulerTimeSlot

GetWeekViewAllDayTimeSlot(int)

Get the AllDay TimeSlot form scheduler WeekView.

Declaration

cs-api-definition
public SchedulerTimeSlot GetWeekViewAllDayTimeSlot(int dayIndex)

Parameters

dayIndex

int

Returns

SchedulerTimeSlot

GetWeekViewTimeSlot(int, int)

Get the TimeSlot form scheduler WeekView by timeSlot index and day index.

Declaration

cs-api-definition
public SchedulerTimeSlot GetWeekViewTimeSlot(int index, int dayIndex)

Parameters

index

int

dayIndex

int

Returns

SchedulerTimeSlot

GoNext()

Go to the Next day.

Declaration

cs-api-definition
public void GoNext()

GoPrevious()

Go to the Previous day.

Declaration

cs-api-definition
public void GoPrevious()

GoToday()

Navigate to today.

Declaration

cs-api-definition
public void GoToday()

InitializeAppointments()

Initializes all Scheduler appointments.

Declaration

cs-api-definition
public void InitializeAppointments()

InlineFormSetText(string)

Inline form set text method.

Declaration

cs-api-definition
public void InlineFormSetText(string text)

Parameters

text

string

NavigateDayView()

Navigate to day view.

Declaration

cs-api-definition
public void NavigateDayView()

NavigateMonthView()

Navigate to month view.

Declaration

cs-api-definition
public void NavigateMonthView()

NavigateMultiDayView()

Navigate to MultiDay view.

Declaration

cs-api-definition
public void NavigateMultiDayView()

NavigateTimelineView()

Navigate to timeline view.

Declaration

cs-api-definition
public void NavigateTimelineView()

NavigateWeekView()

Navigate to week view.

Declaration

cs-api-definition
public void NavigateWeekView()

OpenCalendar()

Activate date picker.

Declaration

cs-api-definition
public void OpenCalendar()