IButtonControl.ValidationGroup Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the name for the group of controls for which the button control causes validation when it posts back to the server.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

string ValidationGroup { get; set; }
/** @property */
String get_ValidationGroup ()

/** @property */
void set_ValidationGroup (String value)

function get ValidationGroup () : String

function set ValidationGroup (value : String)

Property Value

The name for the group of controls for which the button control causes validation when it posts back to the server.

A control that implements the IButtonControl interface must implement the ValidationGroup property to indicate the name for the group of controls for which the button control causes validation when it posts back to the server.

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: