ValidationSummary.BackLabel Property

Gets or sets a string from the validation summary that links to the form that contains an error. The default value is String.Empty.

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

[BindableAttribute(true)] 
public:
property String^ BackLabel {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_BackLabel ()

/** @property */
public void set_BackLabel (String value)

public function get BackLabel () : String

public function set BackLabel (value : String)

Not applicable.

Property Value

A string from the validation summary that links to the form that contains an error.

When an error occurs during the rendering of a form, the validation process uses the text in the BackLabel property as the string that is displayed on the validation summary page.

The following code example demonstrates how to use the BackLabel property to specify the link text in a ValidationSummary to return to the form with the error.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: