You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

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