TrackViewState Method

ModelDataSourceView.TrackViewState Method ()

.NET Framework 4.6 and 4.5

Causes the ModelDataSourceView object to track changes to its view state so that the changes can be stored in the ViewState object for the control and persisted across requests for the same page.

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

abstract TrackViewState : unit -> unit
override TrackViewState : unit -> unit

The TrackViewState method is primarily used by control developers.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft