Gets or sets the text of the button that submits the form.
Assembly: System.Web (in System.Web.dll)
The PasswordRecovery control's Submit button.property contains the text displayed for the
When you use templates to define the appearance of the PasswordRecovery control, the property has no effect.
The default text for the property is localized based on the server's locale setting.
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 SubmitButtonType property.property using declarative syntax. This code example is part of a larger example provided for the
<asp:passwordrecovery id="PasswordRecovery1" runat="server" submitbuttonimageurl="userNameSubmit.png" submitbuttontext="Enter User Name"> <submitbuttonstyle font-names="Comic Sans MS" forecolor="White" backcolor="#00C000"> </submitbuttonstyle> </asp:passwordrecovery>
The following code example sets the SubmitButtonType property.property programmatically. This code example is part of a larger example provided for the
Available since 2.0