PRB: Visual InterDev 6.0 Design-Time Controls Require Client-Side Script (221928)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q221928

SYMPTOMS

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

CAUSE

Design-Time Controls require that you enable the Scripting Object Model (SOM). When the SOM is enabled, the following code appears 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 that do not support all client-side scripting functions (for example, OnSubmit), such as WebTV.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:7/26/2001
Keywords:kbCtrl kbDSupport kbprb KB221928