ASP.NET NextMonthText Property
Definition and Usage
The NextMonthText property is used to specify the text displayed on the link to the next month in the calendar.
Syntax
<asp:Calendar NextMonthText="string" runat="server" />
Property | Description |
---|---|
string | Specifies the text displayed on the link to the next month in the calendar. The default value is ">". |
Example
The following example shows a calendar where NextMonthText is set to "Next":
<form runat="server"> <asp:Calendar id="cal1" runat="server" NextMonthText="Next" /> </form>
Example
- Set NextMonthText for Calendar