Home Unanswered Active Tags New Question

Show Date Range in Month View

How do you set the startdate / range for a month view?

Ex. We want to show one week before the current week and three weeks after this week.

My logic is this:

DayPilotMonth1.StartDate = DateAdd(DateInterval.Day, -7, Date.Now)

However, that doesn't work when I put it in any of the events of the calendar. And if I hardcode a "startdate" it doesn't change the calendar view either.

Asked by Matt Loflin 1 year ago.
Replies
No reply yet.
New Reply
This reply is
Your name (optional):

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