ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / C1Calendar Extender / 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 property 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_C1CalendarExtender.
    3. In the Panel1_C1CalendarExtender 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:C1CalendarExtender ID="Panel1_C1CalendarExtender" runat="server"

                DisplayDate="04/23/2012 16:38:24"

                TargetControlID="Panel1" TitleFormat="MMMM yyyy" AllowPreview="True"

                NavButtons="None">

    </cc1:C1CalendarExtender>

    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: