DetailsView.SaveControlState Method ()

 

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

Saves the state of the properties in the DetailsView control 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 Friend Overrides Function SaveControlState As Object

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 properties in the DetailsView control 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 DetailsView control.

.NET Framework
Available since 2.0
Return to top
Show: