System.Web.UI.ImageClickEventHandler Delegate

Represents the method that handles any events that are raised when a user clicks an image-based ASP.NET server control.

Syntax

public delegate void ImageClickEventHandler (object sender, ImageClickEventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

This delegate defines the required signature for all click events raised when a user clicks an image-based ASP.NET server control. You must use the signature defined by this delegate for any OnServerClick event handlers that you create for an System.Web.UI.HtmlControls.HtmlInputImage server control or any OnClick event handlers that you create for an System.Web.UI.WebControls.ImageButton Web server control.

If you create a custom image-based ASP.NET server control that users can click, use this delegate to define the events associated with that user action.

For more information about delegates and how they interact with events, see Events and Delegates. For information about how to raise events, see Raising an Event.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0