Share via


EnableViewState Property (StyleSheet)

Determines whether the control automatically saves its state for use in round trips.

public override bool EnableViewState{
   get,
   set
}

Remarks

You can disable view state management for the page by using the EnableViewState attribute of the @Page directive, or you can disable view state on individual controls by setting their EnableViewState property.

See Also

Applies to: StyleSheet Class