Latest web development tutorials

ASP.NET Calendar PrevMonthText property

Calendar Control Calendar Control

Definition and Usage

PrevMonthText attribute is used to specify the calendar month on the link displayed text.

grammar

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

属性 描述
string 规定在日历中上一月的链接所显示的文本。默认值是 "<"。


Examples

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

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

The demonstration >>

Calendar Control Calendar Control