Page.RegisterViewStateHandler Method ()

 

Causes page view state to be persisted, if called.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

member RegisterViewStateHandler : unit -> unit

The RegisterViewStateHandler method is automatically called through the HtmlForm server control. If this method is not invoked, the page view state will not be persisted.

System_CAPS_noteNote

Typically, only the HtmlForm server control for the page calls this method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: