This documentation is archived and is not being maintained.

OnViewStateExpire Method

.NET Framework 1.1

Raises an exception when called on postback.

protected virtual void System.Web.UI.MobileControls.OnViewStateExpire(
   EventArgs e
)

Parameters

e
An object defined by an EventArgs object that contains event data.

Remarks

If you expect to restore a page from a view state, and the page's underlying session has expired, this method's default implementation raises an exception. The developer can override this method, perform custom handling to restore the page state without relying on view state, and return without calling the base implementation.

See Also

Applies to: MobilePage Class

Show: