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