PRB: Components Not Recognized When You Enable the Scripting Model (192146)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q192146 SYMPTOMS
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.
CAUSE
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.
RESOLUTION
You can change your code to reference the existing controls/objects through
the "thisForm" object.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbCtrl kbpending kbprb kbScript KB192146 |
---|
|