ASP.NET SelectMonthText Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

The SelectMonthText property is used to specify the text for selecting an entire month in a calendar.

Note: This property only works when the SelectionMode property is set to DayWeekMonth.

Syntax

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

Attribute Description
string Specifies the text displayed for selecting an entire month in a calendar. The default value is ">>"


Example

The following example shows a calendar with the SelectMonthText set to "->":

<form runat="server">
<asp:Calendar id="cal1" runat="server"
SelectMonthText="->" SelectionMode="DayWeekMonth" />
</form>

Show example »

Calendar Control Reference Complete Calendar Control Reference

Color Picker

colorpicker