
722
|
Chapter 39: The System.Web.UI.HtmlControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
HtmlControl(System.Web.UI.IAttributeAccessor) ➝ HtmlImage
HtmlInputButton
System.Web.UI.HtmlControls (system.web.dll)
disposable
class
This class can represent the HTML <input type=button> tag, the <input type=submit> tag,
and the <input type=reset> tag. Reset buttons are used to clear input fields on the current
form and do not trigger a postback. Submit and input buttons in ASP.NET trigger a
postback and provide a ServerClick event that you can use to perform other tasks. Addi-
tionally, you can use the CausesValidation property to skip postback page validation when
this button is clicked.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
HtmlControl(System.Web.UI.IAttributeAccessor) ➝ HtmlInputControl ➝ HtmlInput-
Button(System.Web.UI.IPostBackEventHandler)
HtmlInputCheckBox
System.Web.UI.HtmlControls (system.web.dll)
disposable
class
This class represents the HTML <input type=checkbox> tag and indicates the user’s selec-
tion through its Checked ...