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.
The WebDayView will currently always start from the active day. The WebWeekView will always start from the first day in the workweek. Sounds like you need a combination of the two, which right now isn't available. Not sure there's a workaround at this point, since no matter what you do, the webdayview will attempt to show the active day at the top. This does sound like a good feature request, and I would encourage you and any others who wish to have this feature submit a feature request through https://es.infragistics.com/community/ideas
-Tony
Hello, How can I change the ActiveDay on a WebScheduleInfo in runtime (I mean in the code)?
Cheers, Geykel
Geykel, you can use the same code as above. You want to set the WebScheduleInfo.ActiveDayUtc
Hey Tony, Thanks,
I tried it on a test website and works OK, but I think I found out what is happening on my real website, I have a Master Page with one Content Template and inside it I have the WebMonthView and WebSheduleInfo, in design time, the WebMonthView doesn't list my WebScheduleInfo on the WebScheduleInfoId list, so, I set it on the property windows directly (writting the name of the WebScheduleInfo), but in this way the WebMonthView doesn't change in response to any change I made to the ActiveDayUtc in runtime, like the code you reference above, so I think there is some issue with Master Pages and Content Templates...
Thanks for your help...Geykel
Try setting the WebMonthView's WebScheduleInfo property at runtime. The problem is that the ID that you're setting it to is going to change due to the MasterPage. The value you really want is the WebScheduleInfo's ClientID which will be something like ContentTemplate1_WebScheduleInfo1