Search w3schools.com:

SHARE THIS PAGE

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

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]