Basic Date Picker Documentation

BasicDatePicker.SelectableNextMonthDays Property

Allow selection of Next Month Days which are displayed after the last day of the current visible month.

[Visual Basic]
Public Property SelectableNextMonthDays As Boolean
[C#]
public bool SelectableNextMonthDays {get; set;}

Property Value

Default value is true. If false, selection of next month days are disabled.

Remarks

Use the SelectableNextMonthDays property to specify whether the next month days are selectable in the calendar.

The appearance of the next month days can be customized by using the OtherMonthDayStyle property.

Example

[Visual Basic, C#] The following example demonstrates how to use the SelectableNextMonthDays property to disable selection of next month days.

[Visual Basic]
<%@ Page Language="VB" AutoEventWireup="true" %>
<%@ Register TagPrefix="bdp" Namespace="BasicFrame.WebControls" Assembly="BasicFrame.WebControls.BasicDatePicker" %>
<html>
 <head>
    <title>Basic Date Picker SelectableNextMonthDays Example</title>
 </head>
 <body>
     <form runat="server">
         <h3>Basic Date Picker SelectableNextMonthDays Example</h3>
         <bdp:BasicDatePicker 
             ID="BasicDatePicker1" 
             runat="server"
             SelectableNextMonthDays="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 SelectableNextMonthDays Example</title>
 </head>
 <body>
     <form runat="server">
         <h3>Basic Date Picker SelectableNextMonthDays Example</h3>
         <bdp:BasicDatePicker 
             ID="BasicDatePicker1" 
             runat="server"
             SelectableNextMonthDays="false">
         </bdp:BasicDatePicker>
     </form>
 </body>
</html>

See Also

BasicDatePicker Class | BasicFrame.WebControls Namespace | SelectablePrevMonthDays | SelectablePrevMonthDays | ShowDaysInNextMonth | ShowDaysInPrevMonth | ShowNextPrevMonth