Gets or sets a value indicating whether the month selector is enabled.
The default value is true.
Use the MonthSelectorEnabled property to specify whether the drop down month selector in the title is displayed. The month selector can be opened by clicking on the current month name in the header.
The appearance of the month selector can be customized by editing the BasicDatePicker.css file.
[Visual Basic, C#] The following example demonstrates how to use the MonthSelectorEnabled property to show or hide the drop down list of month names in the title.
[Visual Basic]
<%@ Page Language="VB" AutoEventWireup="True" %>
<%@ Register TagPrefix="bdp" Namespace="BasicFrame.WebControls" Assembly="BasicFrame.WebControls.BasicDatePicker" %>
<html>
<head>
<title>Basic Date Picker MonthSelectorEnabled Example</title>
</head>
<body>
<form id="Form1" runat="server">
<h3>Basic Date Picker MonthSelectorEnabled Example</h3>
<BDP:BasicDatePicker
id="BasicDatePicker1"
runat="server"
MonthSelectorEnabled="False">
</BDP:BasicDatePicker>
</form>
</body>
</html>
[C#]
<%@ Page Language="C#" AutoEventWireup="True" %>
<%@ Register TagPrefix="bdp" Namespace="BasicFrame.WebControls" Assembly="BasicFrame.WebControls.BasicDatePicker" %>
<html>
<head>
<title>Basic Date Picker MonthSelectorEnabled Example</title>
</head>
<body>
<form id="Form1" runat="server">
<h3>Basic Date Picker MonthSelectorEnabled Example</h3>
<BDP:BasicDatePicker
id="BasicDatePicker1"
runat="server"
MonthSelectorEnabled="False">
</BDP:BasicDatePicker>
</form>
</body>
</html>
BasicDatePicker Class | BasicFrame.WebControls Namespace | YearSelectorEnabled