System.Web.UI.HtmlControls.HtmlSelect.TrackViewState Method

Tracks view state changes to the System.Web.UI.HtmlControls.HtmlSelect control so the changes 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

The HtmlSelect.TrackViewState method persists items in the HtmlSelect.Items collection of the System.Web.UI.HtmlControls.HtmlSelect control to view state.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0