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
175
How to display multiple months in a single calendar?
posted
Normal 0 false false false EN-US X-NONE X-NONE

I'm new to the WebDatePicker and the WebMonthCalendar controls. As I understand it, if I want the WebDatePicker control to display a calendar with clickable days so the user can select a date I have to link it to a WebMonthCalendar control via the DropDownCalendarID property. So far, so good. The combination looks like this:

<td>
    <ig:WebDatePicker ID="WebDatePicker1" runat="server"
        EditMode="CalendarOnly"
        DropDownCalendarID="WebMonthCalendar1">
    </ig:WebDatePicker>
    <ig:WebMonthCalendar ID="WebMonthCalendar1" runat="server"
        EnableMonthDropDown="False"
        AutoPostBackFlagsSelectionChanged="On"
        OnSelectedDateChanged="WebDatePicker1_TextChanged">
    </ig:WebMonthCalendar>
</td>

I want the calendar to display two months instead of one as the MaxDate is always 30 days greater than today and therefore could be part of the following month. IOW, I want to display the current month plus the following month and nothing else. Ideally I would also like to suppress the ability to navigate to any other months. Can this be done? Here's approximately what I want it to look like:

 

Parents
No Data
Reply
  • 25665
    Offline posted

    Hello David,

    After some research, displaying 2 months in the WebMonthCalendar has been determined to be a new feature request.  I have sent your feature request directly to our product management team.  Our product team chooses new feature requests for development based on popular feedback from our customer base.  Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.

    You can reference case number CAS-79756-VDVP64 for further information.

    To disable the user from switching months you can set the ShowNextPrevMonth property to false.

    Please let me know if you have any further questions concerning this matter.

Children