Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a Sys.UI.Point object that represents the scroll position of the report area.
Note
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes.
var v = $find(viewerId).get_reportAreaScrollPosition();
$find(viewerId).set_reportAreaScrollPosition(position);
Parameters
- position
A Sys.UI.Point object that represents the scroll position to set.
Return Value
A Sys.UI.Point object that represents the current scroll position.
Remarks
When the Web page is performing a postback or the client-side control is loading content, accessing the methods or properties will cause an exception with the message: "The report or page is being updated. Please wait for the current action to complete." Use the isLoading property to check whether the report or page is being updated and whether you can access the methods and properties.
The following method resets the scroll positions of the report area.
function resetScrollPosition() {
var viewer = $find(viewerID);
if (!viewer.get_isLoading())
viewer.set_reportAreaScrollPosition(new Sys.UI.Point(0, 0));
}