General - .NET User Groups General issues with editing, development and graphic design.
Kentico CMS for .NET User Groups > General - .NET User Groups > Display visual range for one CmsCalendar event? View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
jkane-ecentricarts - 7/27/2011 8:20:08 PM
   
Display visual range for one CmsCalendar event?
Does the CmsCalendar control have the ability to display a ranged event across multiple dates if the event is one document instance having a start and end event date?

For example, let's say the user inputs into an event booking document the start date of (Jan 5) and end event date of (Jan 20) - that's in one document. The CmsCalendar out of the box appears to only be able to display that event using the start date's table cell (on Jan 5). However I would like it to visually span that event across the calendar day range by displaying the event name on all of Jan 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 29 and 20. Each should link back to the one document instance for detail.

Is this supported?

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/28/2011 7:31:08 AM
   
RE:Display visual range for one CmsCalendar event?
Regrettably, multi-day event feature is not supported in the Event Calendar webpart/control (which is derived from the ASP.NET control), but you can achieve it by doing some customization job on your own. To take inspiration how to do it please see the following ASP.NET forum: http://forums.asp.net/p/959533/2328676.aspx. I believe you can find plenty other articles on this topic all over the Internet.

Generally speaking, there is also an alternative - since Kentico CMS is a standard ASP.NET application, you can integrate and use any 3-rd party event calendar module, which has those or even better features. It is definitely up to you.

Best regards
Ondrej Vasil