asp.net.ph

Calendar.SelectMonthText Property

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 );

Property Value

The text displayed for the month selection in the selector column. The default value is ">>".

Remarks

The select month text is only displayed when the SelectionMode is set to CalendarSelectionMode.DayWeekMonth.

Example

The following example demonstrates how to set the SelectMonthText property to ">>".

<asp:Calendar id = "myCalendar" runat = "server"
   SelectionMode = "DayWeekMonth"
   SelectMonthText = ">>" />
See Also

Calendar Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph