Edit

Share via


CheckBox.TrackViewState Method

Definition

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

protected:
 override void TrackViewState();
protected override void TrackViewState ();
override this.TrackViewState : unit -> unit
Protected Overrides Sub TrackViewState ()

Remarks

ASP.NET automatically calls the TrackViewState method when the CheckBox control is initialized.

Applies to

See also