BUG: Textbox DTC Copy/Paste Will Cause Error in Quick View

ID: Q191966


The information in this article applies to:


SYMPTOMS

When trying to copy and paste a text box DTC within a table onto the same page, the following runtime error is generated when switching to Quick View:

Object doesn't support this property or method.


CAUSE

This is due to the fact that the newly pasted control has the same name. In quick view, the script library is actually running and is raising a JScript exception due to two objects with the same name.


RESOLUTION

You can change the name of the second text box to make its name unique.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new HTML page.


  2. Insert a 3x3 table.


  3. In cell (0,0), type in some text like "name:".


  4. Add a textbox DTC in cell (0,1).


  5. Select cell (0,0) and cell (0,1) by highlighting them.


  6. From the Edit menu, click Copy.


  7. Click outside the table and click Paste from the Edit menu. A new table is being created.


  8. Switch to quick view.


A runtime text error occurs:
Object doesn't support this property or method.

Additional query words:


Keywords          : kbCtrl kbVisID600bug kbGrpASP 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 25, 1999