W3Schools.com

ASP.NET SelectMonthText Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

The SelectMonthText property is used to specify the text for selecting an entire month in a calendar.

Note: This property only works when the SelectionMode property is set to DayWeekMonth.

Syntax

<asp:Calendar SelectMonthText="string" runat="server" />

Attribute Description
string Specifies the text displayed for selecting an entire month in a calendar. The default value is ">>"


Example

The following example shows a calendar with the SelectMonthText set to "->":

<form runat="server">
<asp:Calendar id="cal1" runat="server"
SelectMonthText="->" SelectionMode="DayWeekMonth" />
</form>

Show example »

Calendar Control Reference Complete Calendar Control Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE