Basic Date Picker Documentation

BasicDatePicker.SelectableWeekDays Property

Allow selection of WeekDays.

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

Property Value

Default value is true. If false, selection of week days is disabled.

Remarks

Use the SelectableWeekDays property to specify whether the week days are selectable in the calendar.

The appearance of the week days can be customized by using the DayStyle property.

Example

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

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

See Also

BasicDatePicker Class | BasicFrame.WebControls Namespace