Client Events and Scripting

The Web DataWindow provides many of the DataWindow functions and events from a client/server application available in a browser. These events and functions are client-side JavaScript that execute within the browser, so their functionality is limited to what a browser can do. For example, a browser does not have a connection to a database, so you cannot use the ItemChanged event to validate a customer number by reading the customer table. The ItemChanged event can be used to make sure that a customer number was entered and that it is the correct number of characters. Table 7.6 contains a list of the client-side events that are triggered by the Web DataWindow. The names of these events are familiar because they are the ...

Get PowerBuilder® 9: Internet and Distributed Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.