HoverMenuExtender bug (positioning related?)

Last post 01-12-2007 1:41 PM by Matt M. 0 replies.

Sort Posts:

  • HoverMenuExtender bug (positioning related?)

    01-12-2007, 1:41 PM
    • Member
      622 point Member
    • Matt M
    • Member since 08-25-2006, 1:25 PM
    • Eastern WA, USA
    • Posts 128

    I upgraded my version of the toolkit to 16046 and noticed the following bug: Using IE (6.0.2900), the control that's displayed upon hovering is out of position and IE displays the following javascript error: "Error: Object doesn't support this property or method."  Page works properly under Firefox 2.0.0.1.  I upgraded my toolkit to 16123 and the error is still present.  Using ASP.NET AJAX RC1 (latest release, I believe).

     

    Sample page:

     

    <%@ Page Language="VB" AutoEventWireup="true"  %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="act" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server" />
            <div>
            <asp:label runat="Server" ID="faux_image" Text="fake image" />
            <act:HoverMenuExtender runat="server" ID="HME1"  TargetControlID="faux_image"
                PopupControlID="label1"  />
            <asp:label runat="Server" ID="label1" Text="popped up!" />
            </div>
        </form>
    </body>
    </html>

      No code-behind necessary. 

     

    To reproduce: run page, hover over the text "fake image."  On IE6, the hovermenu appears in the upper-left of the page and an error appears in the lower-left of the IE6 window.  Open the same page in Firefox and the popped up text, "popped up!", displays on top of the "fake image" text, as expected.  This behavior occurs despite what the HoverMenuExtender's PopupPosition property is set to (IE6 doesn't render properly, Firefox renders as expected).

     

    Any workarounds? 

Page 1 of 1 (1 items)