The default view of C1CalendarExtender is displayed in 'Day' view, that displays days in the month. But if the user wants to set the date in 'yyyy/MM' format, he should be able to view the months in a year. As such, to enable setting the default view or initial view of C1CalendarExtender as per user choice, InitialView property is used. The InitialView property has following available values:
Setting Initial Calendar view in Design view:
To set initial calendar view in design view, follow these steps:
Setting Initial Calendar view in Source view:
To set initial calendar view in source view, click the source tab and add the following code in your source file:
<cc1:C1CalendarExtender ID="Panel1_C1CalendarExtender" runat="server" InitialView="Month" DisplayDate="02/29/2016 15:24:54"
TargetControlID="Panel1">
</cc1:C1CalendarExtender>
The following image shows C1Calendar when InitialView property is set to above mentioned values: