BUG: Client-Side Recordset DTC May Create Blank Line

ID: Q190588


The information in this article applies to:


SYMPTOMS

When browsing a page that contains a client-side RecordsetDTC, an extra, blank line may be visible.


CAUSE

The client-side RecordsetDTC is dynamically created via DHTML when the page is browsed. It dynamically creates an empty HTML <span> element that is attached to an ADO/RDS recordset. This span element takes up space when browsed in Internet Explorer 4.x. Often this span element is invisible, but if it happens to be followed by a paragraph-type element, such as an <h1> element, then the span element will be forced onto a blank line by itself.


RESOLUTION

You can move the RecordsetDTC to a different location in the document.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

In the browser, although the actual "space" consumed by the span element is invisible, if you drag the mouse to select the area around the span element, a character that looks like a dash (-) will be visible in the selection.

Steps to Reproduce Behavior

  1. Create or open a Web project that contains a data connection.


  2. Add a new HTML page to the project and open it for editing.


  3. Drag a RecordsetDTC from the toolbox to the HEAD section of the page.


  4. In the first line of the BODY, type this text:
    <h1>Hello, World!</h1>


  5. Save the page, then browse it in Internet Explorer 4.x.


A blank line will appear above the text "Hello, World!"

Additional query words:


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

Last Reviewed: May 13, 1999