ASP.NET Calendar ShowDayHeaderProperty


Calendar 控件Calendar Control

Definition and Usage

The ShowDayHeader property is used to specify whether to display the names of the days of the week in the calendar.

By default, this property is set to TRUE, which displays the names of the days of the week. To remove the names of the days of the week, this property must be set to FALSE.

Syntax

<asp:Calendar ShowDayHeader="TRUE|FALSE" runat="server" />


Example

The following example sets ShowDayHeader to FALSE:

<form runat="server">
<asp:Calendar id="cal1" runat="server"
ShowDayHeader="FALSE" />
</form>

Demo »

Calendar 控件Calendar Control Other Extensions