Home Unanswered Active Tags New Question

how do you show current day in week and day view

How do you show today or current day as the first day viewed in the week view and day view in the scheduler

Asked by Anonymous 1 year ago.
Replies

You can use DateTime.Today as DayPilotScheduler.StartDate. This will display today as the first day in the matrix.

If you want to show a full week and just set the initial scroll position to today, use the following:

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DayPilotScheduler1.SetScrollX(DateTime.Today);
        }
    }
Answer posted by Dan Letecky [DayPilot] 10 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java