Microsoft KB Archive/192149

= PRB: Reapplying or Removing Layouts Produces Unexpected Results =

Article ID: 192149

Article Last Modified on 3/7/2005

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q192149



SYMPTOMS
You may encounter unexpected results when you apply or remove layouts to pages in which the layout comments have been removed or altered.



CAUSE
Visual InterDev uses the comments inserted with the layouts to determine what code to remove when removing or re-applying layouts. By default, if any of these comments are missing or altered, Visual InterDev simply adds the code for the new layout without removing the code for the previously applied layout.



RESOLUTION
Do not edit the HTML comments inserted when applying layouts.



Steps to Reproduce Behavior
 Open Visual InterDev. Create two HTML pages named Layout1.htm and Layout2.htm. Right-click Layout1.htm and select Apply Theme and Layout. On the Apply Layout tab, click Apply layout and theme. Select Bottom 1 from the list and click OK. Repeat steps 3 through 5 for Layout2.htm.</li>  Open Layout1.htm in Source view and delete the following comment: </li> Close Layout1.htm and save your changes.</li> Repeat steps 3 and 4 to apply Left 1 layout to both Layout1.htm and Layout2.htm.</li> Open both Layout1.htm and Layout2.htm in Design view and notice the code the Bottom 1 layout is still present in Layout1.htm, but Layout2.htm has only the code for the Left 1 layout as expected.</li></ol>

Keywords: kbide kbprb KB192149

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.