DTCScriptingPlatform Property

       

Specifies where Visual InterDev design-time controls will create their corresponding script object and where events will be fired.

Settings

The settings for DTCScriptingPlatform Property are:

Note    You can change the default scripting platform for the entire project. You can also set the scripting platform for individual design-time controls.

Remarks

This property applies only in environments that support design-time controls (DTCs).

Setting the scripting target platform to Server allows you to write your application's script for server processing, which makes it widely available, no matter what type of browser users are using. In addition, you have access to objects on the server, such as ActiveX Data Objects (ADO).

Setting the scripting target platform to Client typically provides a better user experience, because the user interface is more responsive (it does not require a round trip to the server to process each event). In addition, your application can use the DHTML document object model. However, the application works only with browsers that support DHTML, a requirement that is not practical on applications with wide reach (such as those that are publicly available on the World Wide Web).