System.Web.UI.WebControls Namespace Calendar Class
Sets or retrieves a value indicating whether the Calendar displays the next and pervious month hyperlinks in the title.
[ VB ]
Public Property ShowNextPrevMonth As Boolean
[ C# ]
public bool ShowNextPrevMonth {get; set;}
[ C++ ]
public: __property bool get_ShowNextPrevMonth ( );
public: __property void set_ShowNextPrevMonth ( bool );
[ JScript ]
public function get ShowNextPrevMonth ( ) : Boolean;
public function set ShowNextPrevMonth ( Boolean );
This property accepts or returns only a boolean value: true if the Calendar displays the next and previous month hyperlinks in the title; otherwise false. The default value is true.
The following example demonstrates how to set the ShowNextPrevMonth property to display the next and previous month hyperlinks in the title.
<asp:Calendar id = "myCalendar" runat = "server"
ShowNextPrevMonth = "True" />
Calendar Members