The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Control.HasEvents Method ()


Returns a value indicating whether events are registered for the control or any child controls.

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

protected bool HasEvents()

Return Value

Type: System.Boolean

true if events are registered; otherwise, false.

.NET Framework
Available since 2.0
Return to top