ASP.NET PrevMonthText Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

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

Syntax

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

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

Example

The following example shows a calendar with the PrevMonthText set to "Prev":

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

Show example »

Calendar Control Reference Complete Calendar Control Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: