ASP.NET Calendar TitleFormatProperties
Calendar Control
Definition and Usage
The TitleFormat property is used to set or return how the calendar title is displayed (its format).
Syntax
<asp:Calendar TitleFormat="mode" runat="server" />
| Property | Description |
|---|---|
| mode | Specifies how the calendar title is displayed (its format). Possible values:
|
Example
The following example sets the TitleFormat to display the month:
<form runat="server">
<asp:Calendar id="cal1" runat="server"
TitleFormat="Month" />
</form>
<asp:Calendar id="cal1" runat="server"
TitleFormat="Month" />
</form>
Try it Yourself »
Calendar Control Other Extensions