Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Calendar Controls View modes: 
User avatar
Member
Member
lwhittemore-emh - 1/23/2012 2:16:09 PM
   
Calendar Controls
http://173.203.24.234:8004/education.aspx

Our client has asked if it is possible to have the right column update when we change the month of the calendar. Currently the page is set up as a portal page.

User avatar
Kentico Support
Kentico Support
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