Print Page | Close Window

ApplyToCalendar clear LabelList...

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=4948
Printed Date: 22 November 2024 at 3:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ApplyToCalendar clear LabelList...
Posted By: flauzer
Subject: ApplyToCalendar clear LabelList...
Date Posted: 01 September 2006 at 7:48am
I'm not sure if this is a bug, anyway....
 
It's correct that   CalendarResourcesManager.ApplyToCalendar ....  
 
clear (ie "erase and set to default") a custom LabelList Collection of 
 
CalendarControl?
 
Thanks.
 



Replies:
Posted By: sserge
Date Posted: 01 September 2006 at 8:25am
Labels collection (as well as Schedules collection) is held not in Calendar, but in Data Provider.

When you call ApplyToCalendar -- the default (or currently set) data provider is released and you apply a new one from the applied resources.
 
I mean you have to configure Labels collection in the Data Provider which is used in your resources. 

--
WBR,
Serge


Posted By: flauzer
Date Posted: 01 September 2006 at 8:59am
Ok.....Thanks.



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