Show/Hide Toolbars

Navigation: Advanced topics > Programming topics > Javascript API

ASPrunnerPro32x32     ASPRunnerPro manual

About Javascript API

Scroll Prev Next More


Javascript API allows you to work with the "edit" controls, manage search panel. Javascript API objects are available in the Javascript OnLoad event of the appropriate page.





Allows to work with the "edit" controls.


Allows to process clicking the Cancel button in the Inline mode on Add/Edit pages.


Represents a current page object.


Allows to manage the search panel.


Allows to manage search fields on the search panel.


Javascript API works for Add/Edit/View/Register pages.

For example, use the following code to make the field red on the View page.

var ctrl = Runner.getControl(pageid,'action');

ctrl.addStyle('color: red');



Ask for confirmation before saving a record

Change font size in text box

Change font in "edit" controls

Change width of edit box with AJAX popup

Change width of text field on Quick Search panel

How to calculate values (totals) on the fly

How to control Inline Add/Edit functionality from script

How to enable/disable a button

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

How to refresh List page after Edit in popup

How to work with foldable section

How to work with tabs

Show dropdown list of US states if US was selected in country list