ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / C1EventsCalendarExtender / Changing the Start Date of the Events Calendar
In This Topic
    Changing the Start Date of the Events Calendar
    In This Topic

    By default, the Day view of the C1EventsCalendarExtender starts with the current date. You can change the date using the C1EventsCalendarExtender.SelectedDate property.

    Changing the Start Date in Design View

    To change the start date in Design view, 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_C1EventsCalendarExtender.

    3.       Click the drop-down arrow next to the C1EventsCalendarExtender.SelectedDate property.

    4.       Select a date from the calendar.

    Changing the Start Date in Source View

    To change the start date in Source view, add SelectedDate="xxxx-xx-xx" where the x's represent the numbers of the date, to the <cc1:C1EventsCalendarExtender> tag. Once you've set this property, your markup will resemble the following:

    <cc1:C1EventsCalendarExtender ID="Panel1_C1EventsCalendarExtender"

            runat="server" Colors="red,darkorchid,green,blue,cornflowerblue,yellow,bronze"

            SelectedDate="2012-12-21" TargetControlID="Panel1"

            VisibleCalendars="Default,Home,Work">

    </cc1:C1EventsCalendarExtender>