ValidationSummary.FormToValidate Property

Gets or sets the identifier of the Form that you want to validate. The default value is an empty string ("").

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

[TypeConverterAttribute(typeof(FormConverter))] 
[BindableAttribute(true)] 
public:
property String^ FormToValidate {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_FormToValidate ()

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

public function get FormToValidate () : String

public function set FormToValidate (value : String)

Not applicable.

Property Value

The identifier of the Form that you want to validate.

If you want to use validation, this property must contain a value that represents a valid form ID. The FormToValidate property can be set in code or declaratively, as in the example for the ValidationSummary class.

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: