Login::CreateUserText Property
Gets or sets the text of a link to a registration page for new users.
Assembly: System.Web (in System.Web.dll)
The CreateUserText property contains the text of a link to the registration page for the site. The URL of the registration page is specified in the CreateUserUrl property.
If CreateUserUrl is empty, the text in the CreateUserText property is displayed to the user, but is not formatted as a link.
If the CreateUserText property is empty, a link to the registration page is not 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 sets the CreateUserText property to "Register new user..."
Security Note
|
|---|
This example contains a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview. |
Available since 2.0
