ASP.NET Calendar Caption property
Definition and Usage
Caption property is used to set or return the display to the calendar of the title text.
grammar
<asp:Calendar Caption="text" runat="server" />
属性 | 描述 |
---|---|
text | 显示为标题日历的文本。 |
Examples
The following example sets the calendar in the Caption property:
<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>
The demonstration >>
Calendar Control