संपादित करें

इसके माध्यम से साझा किया गया


MobileControl.SavePrivateViewState Method

Definition

Saves any private view-state changes that have occurred since the page was loaded from persistence. If no changes were made, this method returns null. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual System::Object ^ SavePrivateViewState();
protected virtual object SavePrivateViewState ();
abstract member SavePrivateViewState : unit -> obj
override this.SavePrivateViewState : unit -> obj
Protected Overridable Function SavePrivateViewState () As Object

Returns

An object containing the altered private view state.

Remarks

You can override this method to store a private view state. In addition to information saved with the ordinary view state, ASP.NET mobile Web Forms store information such as whether or not the form is paginated. This added information is stored in the private view state and is stored on the client rather than the server. A private view state is saved in an optimized manner. Default behavior, such as making the first form the active form, is never included in the saved private view state.

Applies to

See also