ASP.NET Calendar SelectWeekTextProperty


Calendar 控件Calendar Control

Definition and Usage

The SelectWeekText property is used to specify the text displayed in the calendar for selecting an entire week.

Note:This property is only valid when the SelectionMode property is set to DayWeek or DayWeekMonth.

Syntax

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

Property Description
string Specifies the text displayed in the calendar for selecting an entire week. The default value is ">>".


Example

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

<form runat="server">
<asp:Calendar id="cal1" runat="server"
SelectWeekText="->" SelectionMode="DayWeek" />
</form>

Show Example »

Calendar 控件Calendar Control Other Extensions