Drag event, get new startdate |
Post Reply |
Author | |
WaaZ
Senior Member Joined: 31 January 2006 Location: United Kingdom Status: Offline Points: 103 |
Post Options
Thanks(0)
Posted: 03 February 2006 at 6:51am |
Hi, If I click on a event of type occurence and drag it, i want to get hold of the date and time of the new location the event... which is now an exception. Normally, the CalendarControl_EventChanged(Object sender, AxXtremeCalendarControl._DCalendarControlEvents_EventChangedEvent e) event is triggered. The following code returns null: CalendarEvent tmp = CalendarControl.DataProvider.GetEvent(e.eventID);How can I get the reference of the recurrent object that is created and which is now an exception? thnx |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
Inside EventChanged handler store exception event ID to some global variable, and use it when PatternChanged event is coming. Retrieve recurrence pattern by Pattern ID and iterate exceptions collection to find an event with the exception event ID. This is a known problem and in the next version instead of ID there will be a pointer to event object (or pattern) provided. -- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |