แก้ไข

แชร์ผ่าน


DynamicControl.ValidationGroup Property

Definition

Gets or sets the validation group name for the control.

public:
 virtual property System::String ^ ValidationGroup { System::String ^ get(); void set(System::String ^ value); };
[System.Web.UI.Themeable(false)]
public virtual string ValidationGroup { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.ValidationGroup : string with get, set
Public Overridable Property ValidationGroup As String

Property Value

The validation group name for the control.

Attributes

Remarks

Validation groups allow you to assign validation controls on a page to a specific category. Each validation group can be validated independently from other validation groups on the page. Use the ValidationGroup property to specify the name of the validation group for which the DynamicControl control causes validation when the page posts back to the server.

Applies to