This documentation is for the old version. Go to the latest Graphics Mill docs

BaseViewer.autoPostBack Property

Gets/sets a value indicating whether a postback to the server automatically occurs when the user zooms or scrolls the content.

Namespace: GraphicsMill
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function get_autoPostBack();
function set_autoPostBack(value);

Property Value

The value which is true when a postback to the server automatically occurs whenever the user navigates the content in the BaseViewer, false otherwise.

Remarks

If you want to disable automatic postback for certain events (e.g. zoomed) and enable it for other ones (e.g. workspaceClick), you can use the clientSideOptions property. It exposes a boolean property for each event.

If autoPostBack is true, postback occurs regardless of values of properties of the ViewerClientSideOptions object returned by the clientSideOptions property.

Default value is false.

This property corresponds to BaseViewer.AutoPostBack server-side member.

See Also

Reference