Print Page | Close Window

How to Modify event when advised

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=9569
Printed Date: 04 July 2024 at 3:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to Modify event when advised
Posted By: anyware
Subject: How to Modify event when advised
Date Posted: 12 February 2008 at 1:13pm
Hello,
 
Is it possible to completly suppress the management of "all day" or "multi day" events in the Calendar library, and then become able to display events whose duration is more than 24 hours (events that appear on from top to bottom of calendar in day view) ?
 
Regards.



Replies:
Posted By: sserge
Date Posted: 12 February 2008 at 4:57pm
You can "cheat" Calendar's UI by replacing logic in Data Provider's RetrieveDayEvents method. Override it for you custom data provider, call a parent's one, then iterate all event and adjust their datetime borders. For example, for multiday events set date only for today's begin and end of the day. For all day events you can reset this flag. And so on.

Hope you've caught what I'd like to say

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net