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: Aurigma.GraphicsMill.AjaxControls
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)


Visual Basic
<BrowsableAttribute(True)> _
Public Property AutoPostBack As Boolean
public bool AutoPostBack { get; set; }

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.


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.

See Also