Gets or sets the error message to display in a System.Web.UI.WebControls.ValidationSummary control when the user name field is left blank.
Documentation for this section has not yet been entered.
The Login.UserNameRequiredErrorMessage property contains the error message displayed in a System.Web.UI.WebControls.ValidationSummary control on the login page.
The Login.UserNameRequiredErrorMessage property value is displayed only when both the following conditions are true:
A System.Web.UI.WebControls.ValidationSummary control is present on the page.
The User name text box is left blank by the user.
The default text for the control is localized based on the server's current locale.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see System.ComponentModel.LocalizableAttribute and ASP.NET Globalization and Localization.
Both the Login.PasswordRequiredErrorMessage and Login.UserNameRequiredErrorMessage values are wrapped in a validation group within the System.Web.UI.WebControls.Login control. For these values to display, the ValidationSummary.ValidationGroup property of the System.Web.UI.WebControls.ValidationSummary control must be set to the System.Web.UI.Control.ID property of the System.Web.UI.WebControls.Login control.