JavaScript

{dialog.object}.refreshViewBoxData Method

Syntax

{dialog.object}.refreshViewBoxData(UXViewBoxName);

Arguments

UXViewBoxName

The Id of the ViewBox control or a comma delimited list of ViewBox Ids to refresh.

Description

Refreshes a ViewBox control.

Discussion

Refreshes a ViewBox control. If the ViewBox is based on a SQL query, a callback is made to re-execute the query. Contrast this with the <viewBoxObject>.refresh() method, which simply redraws the ViewBox using the existing ViewBox data.

If you want to refresh ultiple ViewBoxes on a single Ajax callback, you can pass a comma delimited list of ViewBox Ids.

Example

{dialog.object}.refreshViewBoxData('MYVIEWBOX1');

//refresh multiple ViewBoxes in the same ajax callback
{dialog.object}.refreshViewBoxData('MYVB1,MYVB2');