CreateUserWizard.CreateUserButtonText Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the text caption displayed on the Create User button.

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

public virtual string CreateUserButtonText { get; set; }

Property Value

Type: System.String

The text caption displayed on the Create User button for the CreateUserWizard control. The default value is "Submit". The default text for the control is localized based on the server's current locale.

Exception Condition

The specified button type is not one of the ButtonType values.

The CreateUserButtonText property contains the text displayed for the CreateUserWizard control's Create User button. Depending on the value of the CreateUserButtonType property, the CreateUserButtonText property can appear as text on a button, as text displayed as an alternative to an image, or as the text of a link. The following table lists CreateUserButtonType property values and their respective effects on the Create User button's text caption.


Text appears on the button.


Text appears as alternative text for the image.


Text appears as a link.

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.

.NET Framework
Available since 2.0
Return to top