enableScriptingObjectModel Property

See Also      Applies To

Specifies whether to use the Visual InterDev scripting object model for ASP pages.

Settings

Choose True or False.

Remarks

This property applies only in environments that support design-time controls (DTCs). This property also is used only in ASP pages. It has no effect in .htm files.

When you set this property to True, the HTML editor adds a framework to the page that is required for Visual InterDev design-time controls and page objects. You should not edit this framework in any way. If you set this property to False, the framework is removed.

Note   If you set this property to False while there are design-time controls on the page, the controls will no longer function correctly.

If you add a design-time control to a page that does not already have the enableScriptingObjectModel property set to True, the editor prompts you to enable the scripting object model then.

Setting this property to True adds tags to the page that include script to create the framework for the scripting object model. You should not edit these tags in any way.