ASP.NET Calendar NextPrevFormat property
Definition and Usage
NextPrevFormat attribute is used to specify the calendar for the next month and the previous month link format.
grammar
<asp:Calendar NextPrevFormat="format" runat="server" />
属性 | 描述 |
---|---|
format | 规定日历中下一月和上一月的链接的格式。 可能的值:
|
Examples
The following example shows NextPrevFormat is set to "ShortMonth" calendar:
<form runat="server">
<asp:Calendar id="cal1" runat="server" NextPrevFormat="ShortMonth" />
</form>
<asp:Calendar id="cal1" runat="server" NextPrevFormat="ShortMonth" />
</form>
The demonstration >>
Calendar Control