DataKey.TrackViewState Method

Marks the starting point at which to begin tracking and saving view-state changes to the DataKey object.

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

protected virtual void TrackViewState()

This method is overridden to mark the starting point at which to begin tracking and saving changes to the DataKey object as part of the object's view state.

Notes to Inheritors

When extending the DataKey class, you can override this method to implement your own routine to track the view state of the object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft