Description
The Web DataWindow control now provides support for client-side JavaScript include files.
Usage
You can have the HTMLGenerator component create JavaScript .js files as the source of SCRIPT tags when it generates the Web DataWindow's JavaScript functions. Using .js files reduces the size of the HTML page rendered in the client browser and improves performance after the page is first loaded.
If you want to use .js files, you can set the value of the DataWindow HTMLGen.ResourceBase property to the location of the .js files. (Then you can specify the names of the files where you cache common Web DataWindow methods. You can generate these files from a JavaScript Generation wizard that you start from the Property view of the DataWindow painter or the Tool tab of the New dialog box.
|