Print Page | Close Window

Saving Calendar Options?

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


Topic: Saving Calendar Options?
Posted By: Stilki
Subject: Saving Calendar Options?
Date Posted: 05 May 2007 at 10:19pm
Hello CJ,
 
When you set the data provider to Access, the Calendar saves the state of the CalendarControl.Options object in the Access database to an Options table automatically. If you set the data provider to Custom, there is no provision to save the CalendarControl.Options.
Unlike the CalendarThemeOffice2007 object, it has a DoPropExchange method that you can save the state of the theme.
 
I have looked through the Calendar sample as well as the Help file and could not find a method to automatically save the state of the CalendarControl.Options object when connecting to a custom data provider.
 
Is there or will there be some sort of 'DoPropExchange' for the CalendarControl.Options so that we can save the state of the options locally to an instance of the CalendarControl instead of a database where it may be used in a multi-user environment?
 



Replies:
Posted By: sserge
Date Posted: 12 May 2007 at 8:17am
Hi,

Yes, for now the option to save/load options in a single bunch looks to be missed.

However, there is an event OptionsChanged which you can use to handle changes in Options collection and to update them one by one in the database.

--
WBR,
Serge



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