JavaScript

Allows controls to execute javascript code.

Allows attachment of JavaScript functionality to each control.

As of Wisej 2, most controls feature an InitScript and ClientEvents property that allow for implementing JavaScript functionality without using the extender.

For a full list of properties, methods and events see the API documentation.

Features

JavaScript Events

The JavaScript extender adds a property, JavaScriptEvents to all controls on the page. This new property allows for attachment to JavaScript events on the client-side widget.

This property has been replaced by the ClientEvents property in Wisej 2.

JavaScript Source

The JavaScript extender adds a property, JavaScript and JavaScriptSource to all controls on the page. These new properties allow for execution of JavaScript code upon the widget's initialization. The JavaScript property takes arbitrary JavaScript code. The JavaScriptSource property takes the location of a JavaScript file.

Advanced

JavaScript Widget

ItemDescription

Class name

"wisej.web.extender.JavaScript"

Source code

Last updated