Element Details: Action.Refresh+Element
 Back


Available in: Logi Info Source code name: Action.RefreshElement

Action.RefreshElement enables AJAX capabilites by refreshing one or more elements in the report. Parts of the page may be refreshed based on user input such as selecting an item from a drop-down list or changing another input element, or by clicking a Label, Image or other element that supports Action.RefreshElement.

For Input elements, you can add Action.RefreshElement below an EventHandler element.

Enter the ID of the element(s) to be updated into the ElementID attribute. Multiple IDs can be entered, separated by commas. You can also refresh multiple elements by placing them under a common Division element and specifying the Division's ID.

Action.RefreshElement works by re-runnning the report with just those elements that are to be refreshed. The report runs using request parameters from 1) Input elements on the report, 2) LinkParams and 3) URL request parameters when RequestForwarding="True".

When DebuggerStyle="DebuggerLinks", you can view debug information generated for each Action.RefreshElement request. These appear as additional links at the bottom of the debug page.

Action.RefreshElement does not work with elements that are under DataTables.

When there is a DataTable on the page that has InteractivePaging or sorting enabled, set the DataTable's AjaxPaging="True".

Element Group:Links



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
Class
UserDefined
Sets the Cascading Style Sheet class used by the element. When set, this class will also be used by all child elements that don't have their own class. The class should be defined in the report's style sheet file.
ConfirmMessage
UserDefined
Displays a confirmation dialog box with the message text and OK and Cancel buttons.
ElementID
UserDefined
(Required) The name of the element on the page that will be shown or hidden. You can specifiy more than one element by seperating each Element ID with a comma.
EnterKeyDefault
True
False
Identifies the default action to run when the user presses the enter key. EnterKeyDefault cannot be used under an EventHandler element.
FeedbackHideElementID
UserDefined
FeedbackHideElementID provides feedback to the user when an Action.RefreshElement request has completed. Set to the ID of an element that should appear after the request is done and the user can resume working. Usually, the element should be a Division without a ShowModes="none" so that it's initially visible.
FeedbackShowElementID
UserDefined
FeedbackShowElementID provides feedback to the user when an Action.RefreshElement request is pending. Set to the ID of an element that should appear during the request. Usually, the element should be a Division with ShowModes="none" so that it's initially invisible.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
PopupMenuCaption
UserDefined
When there are multiple Action elements, a simple popup menu appears allowing selection of the desired Action. PopupMenuCaption specifies the caption for an Action's popup option.
PostRefreshJavascript
UserDefined
PostRefreshJavascript allows calling custom browser javascript after the Action.RefreshElement has completed updating the page.
ReportShowModes
UserDefined
ShowModes makes it possible to hide elements for some reports. ReportShowModes passes the ShowModes displayed within a called report. When ReportShowModes is blank, all elements are shown. To pass ShowModes into the report, enter a comma-delimited list of ShowMode values. Any elements that have a ShowMode that includes any of those values will appear in the report.
RequestForwarding
True
False
Pass all request parameters to the next page. Note that request parameters cannot be forwarded if there is an Input element with the same name, because this would result in two values getting passed with the same name. Values from DefaultRequestValues elements are not forwarded. Unless otherwise noted, the default is "False".
SecurityRightID
UserDefined
When entered, access to this element can be controlled with Logi security. Supply the ID of a right defined in the applications settings’ Security element. Only users that have a right in the SecurityRightID will be able to see the element. Note that when rights come from RightFromRole elements under Security/UserRights, and this element's SecurityRightID does NOT match any of the Right IDs defined in the Settings definition, then the user DOES have access. But when Right IDs are instead derived from RightsFromDataLayer or RightsFromRoles elements, and the user DOES NOT have a matching Right, then the user DOES NOT have access. You can enter multiple right IDs, separated by commas. In this case, the user sees the element if he has any one of the Rights.
Validate
True
False
When True, indicates that input elements should be validated. When there are errors, a message is displayed and the input is not submitted.



PARENT ELEMENTS

Click element to drill down for more information.

Action.Add Bookmark
Action.Copy Bookmark
Action.Edit Bookmark
Action.Remove Bookmark
Analysis Chart Column
Animated Chart.Pie
Animated Chart.Scatter
Animated Chart.XY
Animated Gauge.Bar
Animated Gauge.Needle
Animated Gauge.Pyramid
Animated Map
Area Cleared
Area Drawn
Button
Cell Bar
Cell Color Slider
Chart.Gantt
Chart.Heatmap
Chart.Pie
Chart.Polar
Chart.Scatter
Chart.XY
Column Cell
Data Calendar Day
Data Menu
Data Table Column
Division
Event Handler
Gauge.Angular
Gauge.Arc
Gauge.Balloon Bar
Gauge.Bar
Gauge.Bullet Bar
Gauge.Indicator
Gauge.Needle
Gauge.Number
Heatmap Group
Heatmap Group Column
HTML Tag
Image
Input Selection Point Event
Input Selection Range Event
Label
Map Markers
Map Polygons
Map Polylines
Menu Leaf
Popup Option
Responsive Column
Series.Area
Series.Area Range
Series.Area Spline
Series.Area Spline Range
Series.Bar
Series.Bar Range
Series.Box Plot
Series.Bubble
Series.Funnel
Series.Heatmap
Series.Line
Series.Pie
Series.Pyramid
Series.Scatter
Series.Spline
Series.Waterfall
Series.Whiskers
Sparkline.Area
Sparkline.Bar
Sparkline.Line
Sparkline.WinLoss
Text Cloud


CHILD ELEMENTS

Click element to drill down for more information.

Action.Pre-Action Javascript Link Parameters Wait Panel


 Back to top


 Chart Debug