Latest web development tutorials

ASP.NET Calendar SelectWeekText property

Calendar Control Calendar Control

Definition and Usage

SelectWeekText properties of the text in the calendar to select the entire week and displayed for specifying.

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

grammar

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

属性 描述
string 规定在日历中选取整个周显示的文本。默认值是 ">>"。


Examples

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

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

The demonstration >>

Calendar Control Calendar Control