SaveControlState Method

FormView.SaveControlState Method ()

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Saves the state of the FormView control properties that need to be persisted, even when the Control.EnableViewState property is set to false.

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

protected internal override object SaveControlState()

Return Value

Type: System.Object

Returns the server control's current view state. If there is no view state associated with the control, this method returns null.

This method is used to save the state of the FormView control properties that need to be persisted, even when the Control.EnableViewState property is set to false.

System_CAPS_noteNote

This method is used primarily by control developers to extend the FormView control.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft