HtmlInputCheckBox

HtmlInputCheckBoxdisposable

System.Web.UI.HtmlControls (system.web.dll)class

This class represents the HTML <input type=checkbox> tag and indicates the user's selection through its Checked property. You can also react to the ServerChange event, which will fire only after a postback is triggered (for example, by clicking a submit button). Note that this control does not have an associated text label.

public class HtmlInputCheckBox : HtmlInputControl, System.Web.UI.IPostBackDataHandler { // Public Constructors    public HtmlInputCheckBox( ); // Public Instance Properties    public bool Checked{set; get; } // Protected Instance Methods    protected override void OnPreRender(EventArgs e);            // overrides System.Web.UI.Control    protected virtual void OnServerChange(EventArgs e); // Events    public event EventHandler ServerChange; }

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 HtmlInputCheckBox(System.Web.UI.IPostBackDataHandler)



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net