MenuItemCollection.IStateManager.TrackViewState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Instructs the MenuItemCollection object to track changes to its view state.
virtual void System.Web.UI.IStateManager.TrackViewState() = System::Web::UI::IStateManager::TrackViewState;
void IStateManager.TrackViewState ();
abstract member System.Web.UI.IStateManager.TrackViewState : unit -> unit
override this.System.Web.UI.IStateManager.TrackViewState : unit -> unit
Sub TrackViewState () Implements IStateManager.TrackViewState
Implements
Remarks
After this method has been called on a server control, the IsTrackingViewState property returns true
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.