ASP.NET NextMonthText 屬性
定義和用法
NextMonthText 屬性用于規定日歷中下一月的鏈接所顯示的文本。
語法
<asp:Calendar NextMonthText="string" runat="server" />
屬性 | 描述 |
---|---|
string | 規定日歷中下一月的鏈接所顯示的文本。默認值是 ">"。 |
實例
下面的例子顯示了 NextMonthText 被設置為 "Next" 的日歷:
<form runat="server"> <asp:Calendar id="cal1" runat="server" NextMonthText="Next" /> </form>
實例
- 為日歷設置 NextMonthText