PRB: Components Not Recognized when Enabling the Scripting ModelID: Q192146
|
When enabling the Scripting Object Model after controls/objects have already been placed on an Active Server Pages (ASP) page, the controls/objects will no longer be recognized for statement completion and in the Script Outline. As a result, statement completion will not work and you will now see the component in the Script Outline under the "thisForm" object.
When the Scripting Object Model is enabled in ASP pages, the controls/objects that have been inserted on the page are within the <FORM> tags of the Scripting Object Model code. Therefore, any existing reference to your controls/objects inside the <FORM> tags will no longer be recognized as before.
You can change your code to reference the existing controls/objects through the "thisForm" object.
This behavior is by design.
Additional query words:
Keywords : kbCtrl kbScript kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 24, 1999