Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Set shown period in calendar

$
0
0
I'm trying to find out how to set the dates to be shown in a calendar month view.

I have 2 calendars (see attached) similar to the compact calendar in the showcase, but only the first calendar has previous and next buttons. I want the 2nd calendar to always show the month after the month being shown in the first calendar so that both calendars change month when I press next/previous on the first calendar.

I have added a DateChangedHandler to the first calendar and I want to use that to alter the dates being shown in the 2nd calendar but I cant't figure out how. Am I missing something obvious?

Also when not showing the previous and next buttons on the 2nd calendar the month name is not centered in the same place as the first calendar, how can I change that?

Attached Images
File Type: png 2calendars.PNG (18.2 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles