ValidationSummary::HeaderText Property

 

Gets or sets the text that will appear in the heading section of the validation summary page. The default value is Empty. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(true)]
property String^ HeaderText {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The text that will appear in the heading section of the validation summary page.

If you are developing in HTML, the ValidationSummary page renders the value of the HeaderText property first. When the validation process invalidates a form, it produces a list of ErrorMessage properties for each validator. Each instance of an ErrorMessage property in the list results in an error on the invalid form. This list of errors is followed by a Link that targets the invalid form. The text of the link is the value of the BackLabel property.

The display of errors for WML 1.1 is similar to HTML, except that the HeaderText property is displayed as plain WML text followed by each error message and preceded by "- " (a hyphen followed by a space).

.NET Framework
Available since 1.1
Return to top
Show: