TargetControl Property

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
Available since 2.0
Return to top
Show:
© 2016 Microsoft