ASP.NET ShowTitle Property

Definition and Usage

The ShowTitle property is used to specify whether the title in the calendar is displayed.

If the Calendar displays the title section, it is true; otherwise, it is false. The default value is true.

Note:Hiding the title section will also hide the navigation controls for the previous and next months, as well as the month name.

Syntax

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

Example

The following example sets ShowTitle to FALSE:

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

Example

Delete the Title from the Calendar Control