Export (0) Print
Expand All

Sys.Application.enableHistory Property

Gets or sets a value that indicates whether the Web application supports history point management.

NoteNote

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.

var historyEnabled = Sys.Application.get_enableHistory();
Sys.Application.set_enableHistory(value);

Term

Definition

value

true to allow the Web application to support history points, or false to not allow history points.

true if the Web application supports adding history points to the browser's history stack; otherwise, false.

Use the enableHistory property to enable history management in the Web application.

This property throws an exception if you try to set it after the Web application is initialized. It also throws an exception if history has been enabled in the ScriptManager control and you try to disable it by using this property.

Community Additions

Show:
© 2014 Microsoft