ASP.NET Calendar SelectMonthText property
Definition and Usage
SelectMonthText properties of the text in the calendar to select and display the entire month for provisions.
Note: This property is only SelectionMode property is set to DayWeekMonth valid.
grammar
<asp:Calendar SelectMonthText="string" runat="server" />
属性 | 描述 |
---|---|
string | 规定在日历中选取整个月份显示的文本。默认值是 ">>"。 |
Examples
The following example shows SelectMonthText is set to "->" calendar:
<form runat="server">
<asp:Calendar id="cal1" runat="server"
SelectMonthText="->" SelectionMode="DayWeekMonth" />
</form>
<asp:Calendar id="cal1" runat="server"
SelectMonthText="->" SelectionMode="DayWeekMonth" />
</form>
The demonstration >>
Calendar Control