System.Web.UI.WebControls.CheckBox: Method Members

The methods of System.Web.UI.WebControls.CheckBox are listed below. For a list of all members, see the CheckBox Members list.

See Also: Inherited members from System.Web.UI.WebControls.WebControl

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds the HTML attributes and styles of a System.Web.UI.WebControls.CheckBox control to be rendered to the specified output stream.

LoadPostData(string, System.Collections.Specialized.NameValueCollection) : bool

Processes the postback data for the System.Web.UI.WebControls.CheckBox control.

override
LoadViewState(object)

Loads the previously saved view state of the System.Web.UI.WebControls.CheckBox control.

OnCheckedChanged(EventArgs)

Raises the CheckBox.CheckedChanged event of the System.Web.UI.WebControls.CheckBox control. This allows you to handle the event directly.

override
OnPreRender(EventArgs)

Registers client script for generating postback prior to rendering on the client if CheckBox.AutoPostBack is true.

RaisePostDataChangedEvent()

Invokes the CheckBox.OnCheckedChanged(EventArgs) method when the posted data for the System.Web.UI.WebControls.CheckBox control has changed.

override
Render(System.Web.UI.HtmlTextWriter)

Displays the System.Web.UI.WebControls.CheckBox on the client.

override
SaveViewState() : object

Saves the changes to the System.Web.UI.WebControls.CheckBox view state since the time the page was posted back to the server.

override
TrackViewState()

Tracks view-state changes to the System.Web.UI.WebControls.CheckBox control so that they can be stored in the control's System.Web.UI.StateBag object. This object is accessible through the System.Web.UI.Control.ViewState property.