Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

protected:
virtual void TrackViewState()

The TrackViewState method is primarily used by control developers.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft