search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Show Date Range in Month View

Asked by Matt Loflin
9 years ago.

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.

Comment posted by Dee
7 years ago.

Would also like an answer.

I have a similar need to display three weeks (last, this, next) centered around a week chosen by the Navigator.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.