GroupHeaderDateStringFormat problem

2 posts, 0 answers
  1. Christie Admin
    Christie Admin avatar
    239 posts
    Member since:
    Aug 2013

    Posted 14 Jan 2014 Link to this post

    Hi,

    I have a WeekViewDefinition and when I try to change the GroupHeaderDateStringFormat property in code behind the change doesn't take effect immediatly. The control need an AppointmentsSource before my change can take effect, is this normal???

    ie:
                    this.ScheduleView.AppointmentsSource = null;
                    this.ScheduleView.AppointmentsSource = mSpots;

    Thank's
    Alain
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 15 Jan 2014 Link to this post

    Hello Alain,

    This is a normal behavior as the ScheduleView needs to be refreshed when a visual elements are changed. Resetting the AppointmentsSource is actually doing that as well as changing the VisibleRange.

    Hope this helps. If you have any other questions let us know.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top