"
ASP.NET (snapshot 2017) Microsoft documentation and samples

How Do I: Use the ViewStateMode Property for Managing ViewState?

by Chris Pels

In this video Chris Pels shows how to use the ViewStateMode property when designing ViewState for a web site in ASP.NET. First, the functionality for managing ViewState in ASP.NET prior to ASP.NET 4 is discussed. Next, the ViewStateMode property added in ASP.NET 4 is demonstrated both at the page level and in a sample page with nested child controls. The importance of the hierarchical inheritance of the ViewStateMode property is discussed. Finally, a sample scenario for minimizing ViewState on ASP.NET pages is demonstrated.

▶ Watch video (16 minutes)

Previous



Comments ( )
Link to this page: //www.vb-net.com/AspNet-DocAndSamples-2017/aspnet/web-forms/videos/net-4/performance/how-do-i-use-the-viewstatemode-property-for-managing-viewstate.htm
< THANKS ME>