Skip to main content
A newer version of this page is available. .

ASPxScheduler.GoToDate(DateTime, SchedulerViewType) Method

Sets the specified date as the start date of the scheduler, and forces the scheduler to display data using the specified view.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v20.2.dll

NuGet Package: DevExpress.Web.Scheduler

Declaration

public virtual void GoToDate(
    DateTime date,
    SchedulerViewType viewType
)

Parameters

Name Type Description
date DateTime

A DateTime value specifying the new start date.

viewType SchedulerViewType

A SchedulerViewType enumeration value specifying the view in which the scheduler will show its data.

Remarks

The scheduler’s start date is the date on which the scheduler shows its data according to its ASPxScheduler.ActiveView. Use the ASPxScheduler.GoToDate method without the viewType parameter to set the new start date value and show the scheduler’s data in the same view.

See Also