Redigera

Dela via


PostBackOptions.TargetControl Property

Definition

Gets the control target that receives the postback event.

public:
 property System::Web::UI::Control ^ TargetControl { System::Web::UI::Control ^ get(); };
public System.Web.UI.Control TargetControl { get; }
member this.TargetControl : System.Web.UI.Control
Public ReadOnly Property TargetControl As Control

Property Value

A Control that represents the control that receives the postback event.

Remarks

The TargetControl property returns a Control object that represents the control that receives the postback event. This property is passed as the EVENTTARGET parameter to the __doPostBack method of the client-side JavaScript.

Applies to