แก้ไข

แชร์ผ่าน


IButtonControl.ValidationGroup Property

Definition

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

public:
 property System::String ^ ValidationGroup { System::String ^ get(); void set(System::String ^ value); };
public string ValidationGroup { get; set; }
member this.ValidationGroup : string with get, set
Public Property ValidationGroup As String

Property Value

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

Remarks

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.

Applies to