ASP.NET Calendar CaptionProperties
Calendar Control
Definition and Usage
The Caption property is used to set or return the text displayed as the calendar title.
Syntax
<asp:Calendar Caption="text" runat="server" />
| Properties | Description |
|---|---|
| text | The text displayed as the calendar title. |
Example
The following example sets the Caption property in the calendar:
<form runat="server">
<asp:Calendar id="cal1" runat="server"
Caption="This is a Caption text" />
</form>
<asp:Calendar id="cal1" runat="server"
Caption="This is a Caption text" />
</form>
Show example »
Calendar Control Other Extensions