in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Saving/Loading "visual settings" of scheduler

Last post 7/27/2007 9:40 AM by Alan (Developer Express). 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
Previous Next
  • 7/2/2007 3:00 AM

    Saving/Loading "visual settings" of scheduler

    i would like to save settings between application start up. List of settings i need to save is following:

    • active view
    • grouping
    • time scale
    • days selection

    its quite easy with first 2 - there are events and properties of SchedulerControl so i can save them when corresponding property changes. but i do not understant what properties of control i should use (and when) if some visual aspect changed - for example day view was scrolled, for other "scheduler settings".

    Filed under:
  • 7/3/2007 10:08 AM In reply to

    Re: Saving/Loading "visual settings" of scheduler

    Hello Alex,

    Try to use the SchedulerControl.SaveLayoutTo~ and SchedulerControl.RestoreLayoutFrom~ methods. Does this help you?

    @.
    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
    Filed under:
  • 7/25/2007 7:38 AM In reply to

    Re: Saving/Loading "visual settings" of scheduler

    Is it possible to control which properties are saved and which are not? for example WorkTime for each view is saved but i would like to not save it, but for day view i would like to save TopRowTime property.
    Filed under:
  • 7/27/2007 9:40 AM In reply to

    Re: Saving/Loading "visual settings" of scheduler

    Hello Alex,

    Unfortunately, it's not possible to control which properties are saved, and which aren't. So, in addition to SaveLayout~ and LoadLayout~ methods you need to implement your custom saving, and restore particular properties which are necessary in your custom application.

    @.
    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
Page 1 of 1 (4 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED