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
35
First day in Webschedule WebDayView
posted

Hello,

I use a WebDayView to make my web calendar look like the Outlook Workweek calendar. I set VisibleDays property to 5.

But when I change the ActiveDay of the WebScheduleInfo control, the first day in the workweek view changes to the active day.

Is it possible that the first column in the workweek view is always monday (just as it is in Outlook) ??

Best regards.

  • 310
    posted

    // set first day to Sunday 

    this.WebScheduleInfo1.ActiveDayUtc = new SmartDate(System.DateTime.Now.Subtract(new TimeSpan(Convert.ToInt32(System.DateTime.Now.DayOfWeek), 0, 0, 0)));

     

    I'm still learning, but ActiveDay seems to be different from the Current Day.  I use the above code and the dayview always starts with sunday, but the current day is still shown in a different color.. Is this what you're looking for?