FIX: Design-Time Controls Are Not Shown in Design View (191042)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q191042

SYMPTOMS

When viewing a page in Design view, one or more design-time controls (DTCs) are not shown.

CAUSE

This is caused by malformed or incomplete text in a script block that precedes the DTCs.

RESOLUTION

Correct the malformed or incomplete text. It is also good programming practice to enclose the content of client-side script blocks within HTML comment tags. Following this practice will minimize the likelihood of encountering this issue.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Microsoft Visual Studio 6.0 Service Pack 5.

For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

MORE INFORMATION

The menu command "HTML|Script Block|Client" will create an empty script block that is properly enclosed by HTML comment tags.

Steps to Reproduce Behavior

  1. Open a new HTML page in Source view.
  2. In the HEAD section of the page, type this:
          <SCRIPT> <m' </SCRIPT>
    					
  3. Drag a Button DTC from the Toolbox into the BODY of the page.
  4. Switch to Design view.

Modification Type:MinorLast Reviewed:12/12/2005
Keywords:kbBug kbCtrl kbfix kbide KB191042