HtmlSelect::TrackViewState Method ()

 
Use BaseTrue

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 Control::ViewState property.

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

protected:
virtual void TrackViewState() override

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

.NET Framework
Available since 1.1
Return to top
Show: