PRB: VIDev 6.0 Design-Time Controls Require Client-Side Script

ID: Q221928


The information in this article applies to:
  • Microsoft Visual InterDev, version 6.0


SYMPTOMS

If you are working with Active Server Pages (ASP) pages that were written using design-time controls in Visual InterDev 6.0, the browser that requests the Active Server Pages (ASP) pages must execute client-side Java Script.


CAUSE

Design-time controls require the Scripting Object Model (SOM) to be enabled. When the SOM is enabled, you will see the following code at the top of your page:


<% ' VI 6.0 Scripting Object Model Enabled %>
<!--#include file="_ScriptLibrary/pm.asp"-->
<% if StartPageProcessing() Then Response.End() %>
<FORM name=thisForm METHOD=post> 
The included ScriptLibrary file, pm.asp, sets up a client-side script include to pm.js. Pm.js creates a Java Script object named thisPage. The second script line sets the _location property on thisPage.


RESOLUTION

Design-time controls do not work correctly on browsers that do not support client-side scripting or do not support all client-side scripting functions (for example, OnSubmit()), such as WebTV.


STATUS

This behavior is by design.

Additional query words:

Keywords : kbCtrl kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: April 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.