ASPxScheduler.GoToDate(DateTime, SchedulerViewType) Method
In This Article
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.v24.2.dll
NuGet Package: DevExpress.Web.Scheduler
#Declaration
public virtual void GoToDate(
DateTime date,
SchedulerViewType viewType
)
#Parameters
Name | Type | Description |
---|---|---|
date | Date |
A Date |
view |
Scheduler |
A Scheduler |
#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