Gets or sets the format of how the Day labels will be displayed. Options include (Enum): DayNameFormat.Full, .Short, .FirstLetter or .FirstTwoLetters
One of the DayNameFormat enumeration values. The default value is FirstLetter.
Use the DayNameFormat property to set the name format for the days of the week. This property is set with one of the DayNameFormat enumeration values. You can specify whether the days of the week are displayed as the full name, short (abbreviated) name, first letter of the day, or first two letters of the day.
This property only applies if the ShowDayHeader property is set to true.
| DayNameFormat | Description |
|---|---|
| FirstLetter | Culture specific. Example("en-US"): W |
| FirstTwoLetters | Culture specific. Example("en-US"): We |
| Short | Culture specific. Example("en-US"): Wed |
| Full | Culture specific. Example("en-US"): Wednesday |
[Visual Basic, C#] The following example demonstrates how to use the DayNameFormat property to specify that days of the week are displayed in full.
[Visual Basic]
<%@ Page Language="VB" AutoEventWireup="true" %>
<%@ Register TagPrefix="bdp" Namespace="BasicFrame.WebControls" Assembly="BasicFrame.WebControls.BasicDatePicker" %>
<html>
<head>
<title>Basic Date Picker DayNameFormat Example</title>
<style>
</head>
<body>
<form runat="server">
<h3>Basic Date Picker DayNameFormat Example</h3>
<bdp:BasicDatePicker
ID="BasicDatePicker1"
runat="server"
DayNameFormat="Full">
</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 DayNameFormat Example</title>
</head>
<body>
<form runat="server">
<h3>Basic Date Picker DayNameFormat Example</h3>
<bdp:BasicDatePicker
ID="BasicDatePicker1"
runat="server"
DayNameFormat="Full">
</bdp:BasicDatePicker>
</form>
</body>
</html>
BasicDatePicker Class | BasicFrame.WebControls Namespace | Culture | ShowDayHeader