Saving Calendar Options? |
Post Reply |
Author | |
Stilki
Groupie Joined: 27 May 2005 Status: Offline Points: 70 |
Post Options
Thanks(0)
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?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |