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
210
Changing the date range shown on WebMonthView
posted

Currently I am trying to get the WebMonthView and WebScheduleInfo to display a date range that is the week prior to this week through 3-4 weeks in the future, but I don't know how to get it to do that. It seems to only allow showing of the current month? I am using version 7.3. So for instance, I take the current day, find the Monday for this week. Then I retrieve the 7 days before and the next 21 days from Exchange and add those appointments to the WebScheduleInfo. But it always just shows the current month +/- one week. Am I just overlooking something or perhaps is this functionality availabe in a newer version? I need to be able to do this programmatically as there is no user interaction, these are basically kiosk machines. Thanks for any help!

 

Ryan

Parents
No Data
Reply
  • 1354
    posted
    jgr_dev wrote:
    > Currently I am trying to get the WebMonthView and WebScheduleInfo to
    > display a date range that is the week prior to this week through 3-4
    > weeks in the future, but I don't know how to get it to do that. It seems
    > to only allow showing of the current month? I am using version 7.3. So
    > for instance, I take the current day, find the Monday for this week.
    > Then I retrieve the 7 days before and the next 21 days from Exchange and
    > add those appointments to the WebScheduleInfo. But it always just shows
    > the current month +/- one week. Am I just overlooking something or
    > perhaps is this functionality availabe in a newer version? I need to be
    > able to do this programmatically as there is no user interaction, these
    > are basically kiosk machines. Thanks for any help!
    >
    >
    >
    > Ryan
    >
    >
    > ------------------------------------------------------------------------
    > http://forums.infragistics.com/forums/p/17011/61830.aspx#61830
    >
    Hi Ryan,
    Unfortunately what you're attempting to do isn't possible with the
    WebMonthView control, it only displays one month at a time by design.
    You could conceivably achieve the result you desire by using two
    monthview controls, and two webschedule info controls, and keep them
    synced up via event handling, not exactly sure how well that will work
    but it's theoretically possible.
Children
No Data