Calendar.CalendarEntryText Property

Gets or sets the string used on CHTML and WML devices to enter the Calendar control.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

[BindableAttribute(true)] 
public:
property String^ CalendarEntryText {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_CalendarEntryText ()

/** @property */
public void set_CalendarEntryText (String value)

public function get CalendarEntryText () : String

public function set CalendarEntryText (value : String)

Property Value

The string used on CHTML and WML devices to enter the Calendar.

When this property is set to a null reference (Nothing in Visual Basic), the default is the localized string (for example, "Calendar").

The following code example demonstrates how to use the CalendarEntryText property to set the text that is displayed to the user. This example is part of a larger code sample for the Calendar overview.

Calendar1.CalendarEntryText = "Your birthdate";

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show: