Step 2 of 3: Customizingthe Calendar
In This Topic
In this topic you will set some of the properties for the C1CalendarExtender.
-
Select View | Properties Window in the Visual Studio menu.
-
Click the drop-down list at the top of the Properties window and select Panel1_C1CalendarExtender.
-
-
Click the drop-arrow next to the
C1CalendarExtender.MinDate property and set it to 5/16/2011.
-
Click the drop-arrow next to the
C1CalendarExtender.MaxDate property and set it to 5/27/2011.
-
Set the
C1CalendarExtender.NavButtons property to
Quick. The markup for the
C1CalendarExtender will now look like this:
<cc1:C1CalendarExtender ID="Panel1_C1CalendarExtender" runat="server"
DisplayDate="05/03/2011 16:48:52" TargetControlID="Panel1"
AllowPreview="True" MaxDate="2011-05-27" MinDate="2011-05-16"
NavButtons="Quick">
</cc1:C1CalendarExtender>
Now run the project to see the formatted calendar.