Print Page | Close Window

How to suppress the Recurrence-EventDelete-Dialog?

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=11502
Printed Date: 07 October 2024 at 7:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to suppress the Recurrence-EventDelete-Dialog?
Posted By: Jebo
Subject: How to suppress the Recurrence-EventDelete-Dialog?
Date Posted: 20 July 2008 at 3:23pm

Hello,

1.)
I don't need the "Do you want to delete all occurences..."-Question.
 
So please how can I suppress this DialogBox?
 
2.)
Please, how can I delete a complete Recurrence-series by code???
I I try to to use "calendar.DataProvider.DeleteEvent oEvent", only the selected one will delete and not the complete series!
 
Thank you for help
Jebo
 



Replies:
Posted By: jortola
Date Posted: 21 July 2008 at 11:41am
1) Read the code, it's just a dialog.Show()
 
2) Delete the MasterEvent, not the Event i think its oEvent.MasterEvent or oEvent.Recurrence[Something].MasterEvent


Posted By: Jebo
Date Posted: 21 July 2008 at 11:45am
Originally posted by jortola jortola wrote:

1) Read the code, it's just a dialog.Show()
 
2) Delete the MasterEvent, not the Event i think its oEvent.MasterEvent or oEvent.Recurrence[Something].MasterEvent
 
Thx 4 help!
 
To 1:
No, it is no "dialog.show". I'm sure, because it appears in my own application!
 
To 2:
Thank you. It works fine with "...DeleteEvent OpParams.EventViews.ViewEvent(0).Event.RecurrencePattern.MasterEvent"
 
...hope, you mean this way!



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