ASP.NET ShowDayHeader Property

Definition and Usage

The ShowDayHeader property is used to specify whether the names of each day of the week in the calendar are displayed.

If the headers of each day of the week are displayed, it is true; otherwise, it is false. The default value is true.

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>

Example

Remove the names of each day of the week in the Calendar Control