Login.CreateUserUrl Property

 

Gets or sets the URL of the new-user registration page.

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

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

Property Value

Type: System.String

The URL of the new-user registration page. The default is Empty.

The CreateUserUrl property contains the URL of the new-user registration page for the Web site. The CreateUserText property contains the text used for the link.

If the CreateUserText property is empty, the link to the registration page is unavailable to the user.

The following code example sets the CreateUserUrl property to "register.aspx".

System_CAPS_security 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.

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

.NET Framework
Available since 2.0
Return to top
Show: