ASP.NET SelectWeekText Property
Definition and Usage
The SelectWeekText property is used to specify the text displayed in the calendar for selecting the 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 to select the entire week in the calendar. 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>
Example
- Set SelectWeekText for Calendar Control