Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Global events > Login page

JavaScript OnLoad

Scroll Prev Next More

Description

The OnPageLoad event occurs after the page is displayed in the browser. Use this event to work with the "edit" controls using the JavaScript API.

Syntax

OnPageLoad(pageObj, pageid, proxy, inlineRow)

Arguments

pageObj

an object representing the current page. For more information, see RunnerPage class.

pageid

the unique numeric identifier of the page.

proxy

data transferred from ASP code using setProxyValue function.

inlineRow

InlineRow object available in Add/Edit page events in the inline mode.

Applies to pages

List, View, Add, Edit, Print, Search, Export, Report, Chart, Login, Register, Password reminder, Change password.

Examples

List page behavior:

•How to calculate values (totals) on the fly

•How to control Inline Add/Edit functionality from script

•How to refresh List page after Edit in popup

•How to hide 'Edit selected'/'Delete selected' buttons

•How to display all Options on Search panel

Add/Edit lists behavior:

•How to ask for confirmation before saving the record

•How to control multi-step pages

Form and controls:

•Add custom field to form

•How to show dropdown list of US states if US was selected in country list

•How to enable/disable a button

Tweaking control appearance:

•Change width of edit box with AJAX popup

•Change width of text field on Quick Search panel

•Change font size in text box

•Change font in "edit" controls

•How to convert input into upper case

See also:

•Choose pages screen

•Creating charts

•Working with common pages

•Menu builder

•About Dialog API

•About Grid Row JavaScript API

•About JavaScript API

•JavaScript API: AJAX helper object

•AJAX-based features

•About Tabs/Sections API

•About PDF API

•Troubleshooting JavaScript errors