Latest web development tutorials

ASP.NET Calendar ShowTitle property

Calendar Control Calendar Control

Definition and Usage

ShowTitle attribute is used to specify whether to display the calendar's title.

By default, this property is set to TRUE, the calendar is displayed in the title. To remove a title, the property must be set to FALSE.

Note: Hiding the header section also hides the next month and last month, links and month names.

grammar

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


Examples

The following examples set the ShowTitle FALSE:

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

The demonstration >>

Calendar Control Calendar Control