CheckBox::TrackViewState Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

protected:
virtual void TrackViewState() override

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

.NET Framework
Available since 2.0
Return to top
Show: