Print Page | Close Window

Delete events from MultipleResources

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=7287
Printed Date: 23 November 2024 at 8:51am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Delete events from MultipleResources
Posted By: Rod001
Subject: Delete events from MultipleResources
Date Posted: 01 June 2007 at 10:50pm
Hi,

I would like to delete all the events from a selected multiple schedule resource. I would to select the resource and then press a button or command box. Would someone show me an  example code?

Thanks,
Rod




Replies:
Posted By: Rod001
Date Posted: 03 June 2007 at 2:05pm
Let me explain a bit more what I need. Say there are 2 schedules using SetMultipleResources.

1. Add schedule 1 and create an event for day1.
2. Add schedule 2 and create an event for day2
3. Remove schedule 1 using MultipleResources.Remove 0.
    CalendarControl.Populate
    CalendarControl.RedrawControl   
    wndDatePicker.RedrawControl

The events for schedule 1 are still highlighted on the datepicker.
How do I only remove the events for schedule 1 on day1?

Thank you,
Rod




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