Generating JavaScript for common management tasks

You can generate JavaScript files that contain the JavaScript required to manage common DataWindow operations, and operations with DateTime, number, and string datatypes. You can distribute these files in one of three ways by selecting one of the following values for JavaScriptOption in the JavaScriptConfigurations section in the Properties window for the WebDataWindowControl:

If you select External, you need to generate the JavaScript files. To generate the JavaScript files in Visual Studio .NET, select Generate Client Management JavaScript from the pop-up menu for the WebDataWindowControl or from its Properties window and complete the dialog box. The files are saved to the URL path you specify or to the root directory for your application if no URL path is specified.

You can also generate JavaScript files for the HTML Web DataWindow in DataWindow Designer. For more information, see “Using JavaScript caching in DataWindow Designer”.