| ||||||||||||||||||||||||||||||||||||||||
HtmlInputImage ClassSystem.Web.UI.HtmlControls Namespace Allows programmatic access to the HTML <input type=image> element on the server.
|
||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| protected | LoadPostData | ( String postDataKey , NameValueCollection postCollection ) | Boolean |
| protected | OnServerClick | ( ImageClickEventArgs e ) | Void |
| protected | RaisePostBackEvent | ( String eventArgument ) | Void |
| protected | RaisePostDataChangedEvent | ( ) | Void |
| protected | RenderAttributes | ( HtmlTextWriter writer ) | Void |
| Multicast | Name | Type |
|---|---|---|
| multicast | ServerClick | ImageClickEventHandler |
Use the HtmlInputImage control to create a button that displays an image.
You can programmatically control the action associated with the HtmlInputImage control by providing an event handler for the ServerClick event.
The coordinates where the user clicks an HtmlInputImage control can easily be determined by using the X and Y properties of the ImageClickEventArgs object that is passed as a parameter to the user-defined event handler.
NOTE: Unlike <button> elements, all browsers support the HTML <input type=image> element.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlInputImage in ASP.NET Syntax for HTML Controls.
HtmlInputText HtmlInputButton HtmlInputRadioButton HtmlInputCheckBox HtmlInputHidden HtmlInputFile
Check out related books at Amazon
© 2000-2008 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 aspxtreme