Saves any System.Web.UI.HtmlControls.HtmlSelect control view state changes that have occurred since the page was posted back to the server.
The object that contains the changes to the System.Web.UI.HtmlControls.HtmlSelect view state. If no view state is associated with the object, this method returns a null reference (Nothing in Visual Basic).
The System.Web.UI.HtmlControls.HtmlSelect control's view state is stored as a System.Web.UI.Triplet object. The System.Web.UI.Triplet.First field of the System.Web.UI.Triplet object holds the System.Web.UI.HtmlControls.HtmlSelect control's base view state. The System.Web.UI.Triplet.Second field of the System.Web.UI.Triplet object holds the System.Web.UI.WebControls.ListItemCollection collection represented by the HtmlSelect.Items property. The System.Web.UI.Triplet.Third field of the System.Web.UI.Triplet object holds the selected indices represented by the HtmlSelect.SelectedIndices property. The HtmlSelect.SaveViewState method calls the base class's System.Web.UI.Control.SaveViewState method to save the control's base view state.
The HtmlSelect.SaveViewState method is used primarily by control developers extending the functionality of the System.Web.UI.HtmlControls.HtmlSelect control.