ComponentOne Wijmo Open for Juice UI
Wijmo Open for Juice UI Extender Controls / WijCalendar / WijCalendar Task-Based Help / Navigation Tasks / Previewing the Next Calendar Month
In This Topic
    Previewing the Next Calendar Month
    In This Topic

    In circumstances when you don't want to change the current month when checking for the beginning and ending dates of the next or previous you can use the calendar preview feature. The preview Calendar provides a preview area that displays a popup calendar for the previous or next calendar views (months). This functionality is available when you set the allowPreview option to True.

    In Design View:

    To preview the next calendar month, complete the following steps:

    1. Select View | Properties Window in the Visual Studio menu.
    2. Click the drop-down list at the top of the Properties window and select Panel1_WijCalendar.
    3. In the Panel1_WijCalendar Properties window, set the AllowPreview property to True.

    In Source View:

    To set the AllowPreview property in source view, click the source tab and add the following code in your source file:

    <cc1:WijCalendar ID="Panel1_WijCalendar" runat="server"
    
                DisplayDate="04/23/2012 16:38:24"
    
                TargetControlID="Panel1" TitleFormat="MMMM yyyy" AllowPreview="True"
    
                NavButtons="None">
    
    </cc1:WijCalendar>
    

    This topic illustrates the following:

    When the project is loaded, you can preview the next or previous month by hovering over the indicators on either side of the control: