ASP.NET Calendar FirstDayOfWeekProperty
Calendar Control
Definition and Usage
The FirstDayOfWeek property is used to specify which day of the week is the first day in the calendar.
Syntax
<asp:Calendar FirstDayOfWeek="day" runat="server" />
| Property | Description |
|---|---|
| day | Specifies the first day of the week in the calendar. Possible values:
|
Example
The following example shows a calendar in which Wednesday is set as the first day of the week:
<form runat="server">
<asp:Calendar id="cal1" runat="server" FirstDayOfWeek="Wednesday" />
</form>
<asp:Calendar id="cal1" runat="server" FirstDayOfWeek="Wednesday" />
</form>
Demo Example »
Calendar Control Other Extensions