Latest web development tutorials

ASP.NET Calendar ShowDayHeader property

Calendar Control Calendar Control

Definition and Usage

ShowDayHeader attribute is used to specify whether the calendar week display names of the days.

By default, this property is set to TRUE, the name is displayed for each day of the week. To remove the names of the days of the week, the property must be set to FALSE.

grammar

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


Examples

The following examples set the ShowDayHeader FALSE:

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

The demonstration >>

Calendar Control Calendar Control