System.Web.UI.WebControls Namespace Calendar Class
Sets or retrieves the text shown for the week selection in the selector column if SelectionMode is CalendarSelectionMode.DayWeek or CalendarSelectionMode.DayWeekMonth.
[ VB ]
Public Property SelectWeekText As String
[ C# ]
public string SelectWeekText {get; set;}
[ C++ ]
public: __property String* get_SelectWeekText ( );
public: __property void set_SelectWeekText ( String* );
[ JScript ]
public function get SelectWeekText ( ) : String;
public function set SelectWeekText ( String );
The text displayed for the week selection in the selector column. The default value is '>'
.
The SelectWeekText property is only visible when the SelectionMode is set to CalendarSelectionMode.DayWeek or CalendarSelectionMode.DayWeekMonth.
The following example demonstrates how to set the SelectWeekText property to '>'
.
<asp:Calendar id = "myCalendar" runat = "server"
SelectionMode = "DayWeekMonth"
SelectWeekText='>' />
Calendar Members