Control.HasEvents Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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