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