Export (0) Print
Expand All

PostBackOptions.TargetControl Property

Gets the control target that receives the postback event.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public Control TargetControl { get; }

Property Value

Type: System.Web.UI.Control
A Control that represents the control that receives the postback event.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft