ASP.NET SelectWeekText Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

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

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

Syntax

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

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

Example

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

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

Show example »

Calendar Control Reference Complete Calendar Control Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: