Login.InstructionText Property

 

Gets or sets login instruction text for the user.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

abstract InstructionText : string with get, set
override InstructionText : string with get, set

Property Value

Type: System.String

The login instruction text to display to the user. The default is Empty.

The InstructionText property contains instructions for users logging in to the Web site. This text is displayed in the Login control, following the title.

If the InstructionText property is set to Empty, no instruction text is available to the user.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.

The following code example uses the InstructionText property to insert instruction text in the Login control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: