HtmlSelect.TrackViewState Method

Definition

Tracks view state changes to the HtmlSelect control so the changes 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

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

Applies to