Print Page | Close Window

Problem when deleting appointments

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=17061
Printed Date: 18 May 2024 at 4:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem when deleting appointments
Posted By: RK007
Subject: Problem when deleting appointments
Date Posted: 04 August 2010 at 4:52am
This is about CodeJock CalendarControl ActiveX version 13.4.0

I have a custom DataProvider with a DoDeleteEvent with confirmation dialog which sets bResult to "true" when confirmed and to "false" otherwise.

Next scenario
1. A user deletes an appointment and does not confirm the dialog
=> the appointment remains on the calendar (as expected)

2. The user deletes another appointment and again does not confirm the dialog
=> the appointment remains on the calendar (as expected)

3. The user deletes an appointment and this time he confirms the dialog
=> The appointment has been removed from the calendar, but unfortunately also the first two appointments

Should I take some other action (besides setting bResult to false) in the DoDeleteEvent to avoid all appointments will be deleted when only one is confirmed?

Thanks and regards


-------------
Product: Xtreme CalendarControl (ActiveX) 13.4.0
Platform: Win XP
Language: PRONTO



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