System.Web.UI.WebControls.CheckBox.TrackViewState Method

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.

Syntax

protected override void TrackViewState ()

Remarks

ASP.NET automatically calls the CheckBox.TrackViewState method when the System.Web.UI.WebControls.CheckBox control is initialized.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0