ASP.NET Calendar NextPrevFormatProperty
Calendar Control
Definition and Usage
The NextPrevFormat property is used to specify the format of the next month and previous month links in the calendar.
Syntax
<asp:Calendar NextPrevFormat="format" runat="server" />
| Property | Description |
|---|---|
| format | Specifies the format of the next month and previous month links in the calendar. Possible values:
|
Example
The following example shows a calendar with NextPrevFormat set to "ShortMonth":
<form runat="server">
<asp:Calendar id="cal1" runat="server" NextPrevFormat="ShortMonth" />
</form>
<asp:Calendar id="cal1" runat="server" NextPrevFormat="ShortMonth" />
</form>
Try it Yourself »
Calendar Control Other Extensions