.NET4.0 Features

1
ViewStateMode: In previous versions of .NET , if we want to disable viewstate on page level we will use the property EnableViewState=False in page directive and if you want to enable the viewstate on any control of the page then we can’t get value from viewstate. In .NET 4.0, if we want to disable viewstate on page level we can use the new property ViewStateMode=False in page directive and if you want to enable the viewstate on any control of the page then it is possible.

description

.NET FEATURES

Transcript of .NET4.0 Features

ViewStateMode:In previous versions of .NET , if we want to disable viewstate on page level we will use the property EnableViewState=False in page directive and if you want to enable the viewstate on any control of the page then we cant get value from viewstate.

In .NET 4.0, if we want to disable viewstate on page level we can use the new property ViewStateMode=False in page directive and if you want to enable the viewstate on any control of the page then it is possible.