Gets or sets a value indicating whether an application is in offline mode.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
When you set the ConnectivityStatus class caches the value to the local file system. The client service providers in the System.Web.ClientServices.Providers namespace check this value to determine whether to use the offline data cache instead of attempting to access the associated Microsoft Ajax authentication, roles, and profile services.property, the
The following example code demonstrates how to use this property to update the offline status depending on a check box value. In this example, a CheckedChanged event handler updates the offline status. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state.
Available since 3.5