ASP.NET DayNameFormat Property
Definition and Usage
The DayNameFormat property is used to set the format of the week name in the calendar.
Syntax
<asp:Calendar DayNameFormat="format" runat="server" />
Property | Description |
---|---|
Format |
Specify the display format of the day name. Possible Values:
|
Example
The following example shows a calendar with the full name of the day format:
<form runat="server"> <asp:Calendar id="cal1" runat="server" DayNameFormat="Full" /> </form>
Example
- Set DayNameFormat for Calendar Control