kentico_janh
-
1/24/2012 1:17:17 AM
RE:Calendar Controls
Hello,
Yes, the repeater, which displays events can contain a where condition for selecting only events between two dates (a month). This where condition property can also contain a query string macro of current displayed month in an event calendar, but you will need to customize the event calendar to generate a query string, when you click on a previous or next month (instead of a postback action). Please clone the event calendar web part before you customize it.
Our calendar inherits behavior from .Net calendar, so you will need to disable default previous and next buttons and add your own custom ones, which will add query strings with a date value into URL. And finally, you can set current month back to the calendar from the query string through its VisibleDate property.
Best regards, Jan Hermann
|