Search w3schools.com:

SHARE THIS PAGE

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

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]