asp.net.ph

HtmlInputImage.ServerClick Event

System.Web.UI.HtmlControls Namespace   HtmlInputImage Class


Occurs when the HtmlInputImage control is clicked.

[ VB ]
Public Event ServerClick As EventHandler

[ C# ]
public event EventHandler ServerClick;

[ C++ ]
public: __event EventHandler* ServerClick;

In [ JScript ], you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type ImageClickEventArgs containing data related to this event.

Remarks

The ServerClick event is raised each time the user clicks on an HtmlInputImage control.

For more information about handling events, see Web Forms Events Model.

Example

The following illustrates how to attach a handler to the onServerClick event of an HtmlInputImage control.

<input type=image id="imgButt"
   src="~/shared/images/billg.gif" 
   onServerClick="getClickCoords"
   runat="server">

 Show me 

See Also

HtmlInputImage Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph