Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1105
Week-Display
posted

Hi.

 I want to get a week view (without any relation to dates), to schedule a list of tasks that occurs every week.

I need to see a 'day view' X 7, with a resulotion of 5 minutes, so I can add tasks for all week.

 

Could you give me a samle in that direction?

  • 69832
    Offline posted

    To get a "resolution of 5 minutes", set the TimeSlotInterval property to 'FiveMinutes'. To display more than one day, use the UltraCalendarInfo.SelectedDateRanges collection.

    Example:

    this.dayView.TimeSlotInterval = TimeSlotInterval.FiveMinutes;
    UltraCalendarInfo calendarInfo = this.dayView.CalendarInfo;
    calendarInfo.SelectedDateRanges.Clear();
    calendarInfo.SelectedDateRanges.Add( DateTime.Today.AddDays(-3), DateTime.Today.AddDays(3) );