Skip to main content

ViewNavigatorProperties.ShowGotoDateButton Property

Specifies whether the GoTo Date button is displayed.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

[DefaultValue(false)]
public bool ShowGotoDateButton { get; set; }

Property Value

Type Default Description
Boolean false

true to display the GoTo Date button otherwise, false.

Remarks

Scheduler - ViewNavigatorProperties.ShowGotoDateButton Property

Web Forms:

<dx:ASPxScheduler ID="ASPxScheduler1" runat="server" Width="400px" ...>
    <ViewNavigator ShowGotoDateButton="true" ShowTodayButton="true" />
</dx:ASPxScheduler>

MVC:

@Html.DevExpress().Scheduler(
    settings => {
        settings.Name = "scheduler";
        settings.ActiveViewType = SchedulerViewType.Day;
        settings.Start = new DateTime(2016, 10, 10);
        settings.Views.DayView.Enabled = true;

        settings.OptionsBehavior.ShowViewNavigator = Model.ShowViewNavigator;
        settings.ViewNavigator.ShowGotoDateButton = true;
        settings.ViewNavigator.ShowTodayButton = true;
        ...
}).Bind(Model.Appointments, Model.Resources).GetHtml()
See Also