Reputation: 2288
<div runat="server" enableviewstate="false">
<div runat="server" enableviewstate="false"></div>
</div>
What happends if I won't set the enableviewstate property for the second div. Is it inherited from it's parent or not ?
Upvotes: 7
Views: 1314
Reputation: 176896
it get inherited form the parent one.
EnableViewState
property on any container will override the behavior of all controls within that contain
Upvotes: 7