Gets or sets the day of the week to display in the first day column of the BasicDatePicker control.
Default value is Default, which indicates that the day specified in the CultureInfo date format is used.
Use the FirstDayOfWeek property to specify the day of the week to display in the first day column of the BasicDatePicker control. This property is set with one of the FirstDayOfWeek enumeration values. You can specify any day of the week or FirstDayOfWeek.Default, which indicates that the date is determined by the system settings.
Note In Cultures where the FirstDayOfWeek is Sunday, week numbers can be displayed next to the calendar, otherwise week numbers are not displayed.
[Visual Basic, C#] The following example demonstrates how to use the FirstDayOfWeek property to set the first day column to Monday.
[Visual Basic]
<%@ Page Language="VB" AutoEventWireup="True" %>
<%@ Register TagPrefix="bdp" Namespace="BasicFrame.WebControls" Assembly="BasicFrame.WebControls.BasicDatePicker" %>
<html>
<head>
<title>Basic Date Picker FirstDayOfWeek Example</title>
<style>
</head>
<body>
<form id="Form1" runat="server">
<h3>Basic Date Picker FirstDayOfWeek Example</h3>
<BDP:BasicDatePicker
id="BasicDatePicker1"
runat="server"
FirstDayOfWeek="Monday">
</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 FirstDayOfWeek Example</title>
</head>
<body>
<form id="Form1" runat="server">
<h3>Basic Date Picker FirstDayOfWeek Example</h3>
<BDP:BasicDatePicker
id="BasicDatePicker1"
runat="server"
FirstDayOfWeek="Monday">
</BDP:BasicDatePicker>
</form>
</body>
</html>
BasicDatePicker Class | BasicFrame.WebControls Namespace | Culture | ShowWeekNumbers