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; }