ASP.NET Calendar PrevMonthTextProperty


Calendar 控件Calendar Control

Definition and Usage

The PrevMonthText property is used to specify the text displayed for the link to the previous month in the calendar.

Syntax

<asp:Calendar PrevMonthText="string" runat="server" />

Property Description
string Specifies the text displayed for the link to the previous month in the calendar. The default value is "<".


Example

The following example shows a calendar where PrevMonthText is set to "Prev":

<form runat="server">
<asp:Calendar id="cal1" runat="server" PrevMonthText="Prev" />
</form>

Show Example »

Calendar 控件Calendar Control Other Extensions