ASP.NET NextPrevFormat Property
Definition and Usage
The NextPrevFormat property is used to specify the format of the links to the next and previous months in the calendar.
Syntax
<asp:Calendar NextPrevFormat="format" runat="server" />
Property | Description |
---|---|
Format |
Specifies the format of the links to the next and previous months in the calendar. Possible Values:
|
Example
The following example shows a calendar where NextPrevFormat is set to "ShortMonth":
<form runat="server"> <asp:Calendar id="cal1" runat="server" NextPrevFormat="ShortMonth" /> </form>
Example
- Set NextPrevFormat for Calendar Control