I am trying to get WebDayView to display the current work week (5 days) and to skip weekends. I'd like to be able to tell the view to start with Monday of this week and show to friday. I'd also like to navigate to the next monday when clicking the "forward and back" buttons.
I tried to intercept onactivedaychanging and look at the e.NewDate value. If it was a Saturday, I wanted to add 2 days to it, but i get an error that NewDate is ReadOnly.
Currently, the WebDayView does not support the display and navigation between work week days only. The functionality you are looking for is a feature request which I have logged directly with our product management team. Our product team chooses new features based on the feedback from our customers, so we can plan accordingly as trends appear in the feature requests.
You can follow up on your feature request by contacting the Developer Support management at firstname.lastname@example.org . Please, include the reference number of your feature request - FR13445, in the subject and body of your email.Feel free to contact me if you require further assistance.Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.
I hate to reopen a old thread, but this is what I am trying to do now. Now I know you could achieve something similar in the WinForms version doing something like this.
Is there a way to do this in the current WebDayView version?
Thank you for your reply.
This feature is still now available in WebDayView. Theoretically, a possible approach in this scenario is to set the VisibleDays of WebDayView to 5 and handle the ActiveDayChanging event of WebSchedule info in order to manipulate the ActiveDayUtc so that the first displayed day in the WebDayView is always a Monday. Note, however that such an implementation would require writing the logic for the task manually.
I have logged another product idea for you regarding regarding this functionality - PI12040001. Thank you for your feedback as this helps us to monitor and plan new product features based on our customer needs.
Please feel free to contact me if you have any questions.