ASP.NET Calendar ShowTitleProperties


Calendar 控件Calendar Control

Definition and Usage

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

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

Note:Hiding the title section also hides the next month and previous month links, 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>

Show Example »

Calendar 控件Calendar Control Other Extensions