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:
Server (ASP)Specifies that script objects are created in server script and have access to the server object model. Events are fired as server events. Data binding occurs on the server. This option is available only for .asp files.
Client (IE 4.0 DHTML)Specifies that script objects are created in client script and have access to the DHTML object model. Events are fired as client events. This option is available for both .htm and .asp files.
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).