Error: Child Menu Items on Hover - Javascript > Object does not support this property or method

5 posts, 0 answers
  1. Manprit
    Manprit avatar
    3 posts
    Member since:
    Sep 2010

    Posted 16 Nov 2010 Link to this post

    Hi,

    I am using simple sample code, which also has child menu under sub menu.

    However, whenever user hovers mouse over child menu having sub menu, it throws javascript error saying - "Object does not support this property or method". 

    The same code works on Firefox and Chrome, but not on IE.

    Please suggest. The code is below:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TelerikMenuCustomSkin.aspx.cs" Inherits="TelerikMenuCustomSkin" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <telerik:RadMenu ID="RadMenu4" runat="server" EnableViewState="true"  Width="100%">
                        <Items>
                            <telerik:RadMenuItem Text="File">
                             <Items>
                              <telerik:RadMenuItem Text="New...">
                               <Items>
                                <telerik:RadMenuItem Text="File"></telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Folder"></telerik:RadMenuItem>
                               </Items>
                              </telerik:RadMenuItem>
                              <telerik:RadMenuItem Text="Open"></telerik:RadMenuItem>
                              <telerik:RadMenuItem IsSeparator="true"></telerik:RadMenuItem>
                              <telerik:RadMenuItem Text="Exit"></telerik:RadMenuItem>
                             </Items>
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Edit">
                             <Items>
                              <telerik:RadMenuItem Text="Cut"></telerik:RadMenuItem>
                              <telerik:RadMenuItem Text="Copy"></telerik:RadMenuItem>
                              <telerik:RadMenuItem Text="Paste"></telerik:RadMenuItem>
                             </Items>
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Help" Enabled="false"></telerik:RadMenuItem>
                        </Items>

            </telerik:RadMenu>
        </div>
        </form>
    </body>
    </html>

  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 16 Nov 2010 Link to this post

    Hi Manprit,

    Can you please tell us which version of RadControls for ASP.NET AJAX and which browser are you using? Can you provide a live URL where the issue can be reproduced? Thank you in advance.

    All the best,
    Kamen Bundev
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Manprit
    Manprit avatar
    3 posts
    Member since:
    Sep 2010

    Posted 18 Nov 2010 Link to this post

    Hi Kamen,

    We are using v.2010.2.826.20.

    Manprit
  4. Manprit
    Manprit avatar
    3 posts
    Member since:
    Sep 2010

    Posted 19 Nov 2010 Link to this post

    Dear Team,

    Please respond. The development is on hold owing to this.

  5. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 20 Nov 2010 Link to this post

    Hi Manprit,

    There was a bug in RadControls for ASP.NET AJAX Q2 SP1 which prevented second level sub menus from opening in IE6 and Quirksmode. The bug was fixed in the next service pack, so the issue will go away if you upgrade to SP2.

    All the best,
    Kamen Bundev
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top